CVE-2026-18787 GL.iNet AX1800 RPC Endpoint oui-rpc.lua remove_rule command injection
Remote attackers can execute arbitrary commands on GL.iNet AX1800 routers via the RPC endpoint, requiring immediate firmware updates.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-18787?
CVE-2026-18787 is a high-severity command injection vulnerability in GL.iNet AX1800, published on 4 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was identified in GL.iNet AX1800 up to 4.8.3. The affected element is the function remove_rule of the file /usr/share/gl-ngx/oui-rpc.lua of the component RPC Endpoint. The manipulation of the argument args.id leads to command injection. The attack is possible to be carried out remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure.
Which versions are affected by CVE-2026-18787?
How do I fix CVE-2026-18787?
No fix has been published for CVE-2026-18787 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-18787 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-18787 exists.
Sources
Also known as GHSA-vfp6-456q-5pqw.