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

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. 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.