# CVE-2026-18787: GL.iNet AX1800 command injection in RPC endpoint

Source: https://junglewise.ai/threats/cve-2026-18787-gl-inet-ax1800-command-injection-in-rpc-endpoint  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-04. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-18787 · Severity: high · CVSS 8.8 · Published 2026-08-04

GL.iNet AX1800 is a wireless router used in home and small-office networks. A remote code execution flaw in its RPC interface allows unauthenticated attackers to execute arbitrary shell commands, potentially compromising the router and any devices connected to it. Exploitation code is publicly available.

Technologies: [GL.iNet AX1800](https://junglewise.ai/threats/technologies/ax1800). Vendors: [GL.iNet](https://junglewise.ai/threats/vendors/gl-inet).

## Quick answers

**Is CVE-2026-18787 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-18787 being exploited in the wild.

**How severe is CVE-2026-18787?** High severity, with a CVSS score of 8.8, published 4 August 2026.

**Which products and versions are affected?** GL.iNet AX1800 up to 4.8.3.

**Is there a fix for CVE-2026-18787?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-18787 attacked?** It is attacked over the network, in device firmware.

**Am I affected by CVE-2026-18787?** Check whether you run GL.iNet AX1800 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a command injection flaw in the remove_rule function of /usr/share/gl-ngx/oui-rpc.lua on the RPC endpoint. The vulnerability stems from insufficient input sanitization on the args.id parameter, which is passed to a shell command without proper escaping. An attacker can send a crafted RPC request with a malicious args.id value to inject and execute arbitrary commands. The attack is network-accessible and requires no authentication. A remote attacker can achieve full device compromise with root privileges.

## Affected products

- GL.iNet AX1800 up to 4.8.3

## Timeline

- 2026-08-04: disclosed
- other: Exploit publicly available

## References

- [https://github.com/xxianxiayubanmian/iot/blob/main/GL-link%20AX1800.md](https://github.com/xxianxiayubanmian/iot/blob/main/GL-link%20AX1800.md)
- [https://vuldb.com/cve/CVE-2026-18787](https://vuldb.com/cve/CVE-2026-18787)

## Related threats

- [GL.iNet multiple routers OS command injection in NAS service](https://junglewise.ai/threats/cve-2026-19983-gl-inet-multiple-routers-os-command-injection-in-nas-service)
- [GL.iNet Router OS command injection in Wi-Fi Timer Power-Schedule](https://junglewise.ai/threats/cve-2026-19981-gl-inet-router-os-command-injection-in-wi-fi-timer-power-schedule)
- [GL.iNet Router Code Injection in Language Update](https://junglewise.ai/threats/cve-2026-19980-gl-inet-router-code-injection-in-language-update)
- [GL.iNet WebDAV authorization bypass in COPY/MOVE](https://junglewise.ai/threats/cve-2026-19979-gl-inet-webdav-authorization-bypass-in-copy-move)
- [GL.iNet Routers hard-coded authentication token in glnassys](https://junglewise.ai/threats/cve-2026-11505-gl-inet-routers-hard-coded-authentication-token-in-glnassys)
