CVE-2026-18787 Details
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.
A command injection vulnerability has been identified in the GL.iNet AX1800 router, affecting versions through 4.8.3. The issue resides in the web management JSON-RPC interface, specifically within the 'parental-control' object and the 'remove_rule' method. The vulnerability arises because the method does not properly validate the 'args.id' parameter, allowing attackers to inject newline characters and execute arbitrary commands on the device via the 'os.execute()' function. Exploitation requires authentication, but once a valid session is established, the vulnerability can be easily and reliably exploited to execute unauthorized commands, potentially leading to a full compromise of the device.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 4, 2026CISA-ADP
Assessed Aug 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/xxianxiayubanmian/iot/blob/main/GL-link%20AX1800.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-18787 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/857346 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/385788 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/385788/cti | [email protected] | AdvisoryContent Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| GL.iNet AX1800 | <= 4.8.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | CISA-ADP |
| Aug 4, 2026 | New CVE Received | [email protected] |
Volerion