Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin access to router web UI
-
DeliveryOpen Traceroute Diagnostic page
-
ExploitInject shell metacharacters into traceroute_ip
-
Executionapply.cgi passes input to system()
-
ImpactExecute arbitrary OS commands on device
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated administrative access to the WRT54GL web management interface; the vulnerable code path is the Traceroute Diagnostic Function reached via apply.cgi, and the injection point is the traceroute_ip argument, which is passed to the underlying shell. CVSS PR:H confirms privileged (authenticated) access is needed, which is the primary limiting factor; the network vector (AV:N) means exploitation is remote once authenticated. Further limits: the flaw only affects the unsupported end-of-life WRT54GL, there is no vendor patch, and the available PoC is an unverified reference rather than confirmed working exploit code. |
| Impact | This is a CWE-78 OS command injection in the Traceroute Diagnostic Function (apply.cgi, traceroute_ip argument) of the Linksys WRT54GL 4.30.18. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, impacts VC/VI/VA:H and subsequent SC/SI/SA:H, E:P) scores 8.5, but the single most important signal is PR:H: exploitation requires high privileges, i.e. an authenticated administrator of the router's web interface, which sharply narrows the realistic attacker population versus a pre-auth flaw. The vuln.today decision label is 'this_week' (not act_now/emergency), and there is no CISA KEV listing and no EPSS value in the input, so there is no evidence of active or widespread exploitation. A public PoC reference exists on GitHub but is explicitly marked not verified as working exploit code, so it should not be treated as confirmed weaponization. The product is explicitly end-of-life and unsupported, and the vendor did not respond to disclosure. Net: the technical impact of command execution is severe, but the PR:H precondition, retired-product footprint, absence of KEV/EPSS, and unverified PoC make this a moderate-priority issue for the specific population still running this device rather than a broad emergency. |
| Exploit ScenarioDerived | An attacker who already holds valid administrative credentials (or has hijacked an authenticated admin session) to a WRT54GL web console submits a crafted value in the traceroute_ip parameter of the Traceroute Diagnostic page, causing apply.cgi to pass attacker-controlled input to a shell and execute arbitrary OS commands on the router. A public PoC reference exists but is not verified as working exploit code, so real-world exploitation depends on reproducing it against the authenticated diagnostic endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 04, 2026
OS command injection in the Traceroute Diagnostic Function of the Linksys WRT54GL firmware (4.30.18) allows an attacker who already holds administrative access to the router's web management interface to run arbitrary shell commands on the device by supplying a crafted traceroute_ip value to apply.cgi. The vendor-reported CVSS 4.0 score is 8.5, while independent assessment (CVSS 3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) confirms that the privileged-access prerequisite (PR:H) is the main limiting factor, since the attack is remote only after authentication. A public PoC reference exists; it is not verified as working exploit code, and no CISA KEV entry indicates confirmed active exploitation. The product is end-of-life, Linksys did not respond to the report, and no vendor patch has been identified.
Earlier versions of this analysis (1)
OS command injection in the Linksys WRT54GL (firmware 4.30.18) Traceroute Diagnostic Function allows an attacker who already holds administrative credentials for the router's web interface to run arbitrary OS commands on the device by supplying a crafted traceroute_ip value to apply.cgi, giving full confidentiality, integrity and availability impact on the router and on systems behind it. The assessed vector requires authenticated administrative access (PR:H) with no user interaction, so the flaw is only reachable if the WRT54GL management interface is exposed to the attacker. A public PoC reference exists but is not verified as working exploit code; there is no CISA KEV listing, and the disclosure is prioritised as act_now, with the vendor contacted but unresponsive and the product end-of-life.
RemediationAI
No vendor-released patch was identified at time of analysis: Linksys did not respond to the disclosure and the WRT54GL is explicitly out of support, so no fixed firmware version can be cited and no upgrade path exists from the vendor. Because the injection requires authenticated administrative access (PR:H) to the web management interface, the practical compensating controls are to remove that exposure: block the router's HTTP/HTTPS management ports at the WAN boundary and from untrusted LAN segments so only a dedicated management host or network can reach apply.cgi, accepting the trade-off that remote administration from other segments becomes impossible; and avoid submitting untrusted or externally influenced values into the traceroute_ip field of the diagnostic page, noting this is a usage restriction rather than a technical control and does not fix the underlying system() call. Given the end-of-life status and the absence of any vendor fix, the durable remediation is to retire and replace the WRT54GL with a supported device. Monitor the VulDB entries at https://vuldb.com/vuln/431043 and https://vuldb.com/cve/CVE-2026-121931, plus the public PoC reference at https://github.com/Zimo-666/WRT54GL-cves/tree/main/CVE-TBD-traceroute-ip-command-injection, for any change in vendor or exploit status; based on the current priority signal this should be handled this week.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-78 OS command injection in the router's CGI-based administrative interface: the Traceroute Diagnostic Function in apply.cgi passes the user-supplied traceroute_ip argument to the C-level system() function, which hands the string to an underlying shell without adequate sanitization, so shell metacharacters embedded in the argument are interpreted as commands. Because the CGI runs with the device's own privileges, successful injection yields command execution in the firmware's operating context rather than merely a malformed diagnostic result. The affected CPE, cpe:2.3:a:linksys:wrt54gl:*:*:*:*:*:*:*:*, is wildcarded across versions, and the public report names firmware 4.30.18; the trigger conditions for the vulnerable code path beyond the traceroute_ip argument are as described in the public disclosure, and the CVSS metrics alone do not describe the injection mechanics. Reachability requires the attacker to reach the web management interface over the network and to be authenticated as an administrator, which is why PR:H rather than PR:N appears in the assessed vector. The device is no longer supported by Linksys, so no firmware branch is expected to receive a fix.
Know when Wrt54Gl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Remote but requires authenticated admin access to the web diagnostic (PR:H); command injection yields full OS compromise of the device, so C/I/A:H with no separate security authority (S:U).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A security vulnerability has been detected in Linksys WRT54GL 4.30.18. The impacted element is the function system of the file apply.cgi of the component Traceroute Diagnostic Function. Such manipulation of the argument traceroute_ip leads to os command injection. The attack can be launched remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way. This vulnerability only affects products that are no longer supported by the maintainer.
Technical POC Analysis
CWE-78 OS command injection.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
CVE-2026-121931 is a high-severity command injection vulnerability in the end-of-life Linksys WRT54GL router that allows an authenticated administrator to execute arbitrary commands. While exploitation requires prior administrative access, the product's end-of-life status and lack of vendor support leave any deployed units permanently exposed, posing a risk to organizational networks where these devices remain in use.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting administrative access to the web interface (e.g., via IP allowlisting and strong authentication), disabling the traceroute diagnostic feature if feasible, segmenting the device from sensitive network segments, and replacing the end-of-life product with a supported alternative.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-117047
GHSA-7p5v-44wr-v953
NVD
CVE.org
EPSS
VulDB
Exploit-DB