Totolink A8000RU Command Injection Vulnerability (CVE-2026-9458)
A remote command injection vulnerability (CVE-2026-9458) exists in the setWanCfg function of the /cgi-bin/cstecgi.cgi file within the Web Management Interface of Totolink A8000RU version 7.1cu.643_b20200521, allowing unauthenticated attackers to execute arbitrary OS commands.
CVE search metadata
CVE search record: CVE-2026-9458. Severity: critical. CVSS: 9.8. EPSS: 3.25%. KEV: no. Product: A8000RU 7.1cu.643_b20200521. Brief: Totolink A8000RU Command Injection Vulnerability (CVE-2026-9458). Brief link: https://feed.craftedsignal.io/briefs/2026-05-25-totolink-command-injection/
Triage facts
Revision 2- Applicability
- A8000RU 7.1cu.643_b20200521
- Evidence
- Unknown
- Severity
- Critical
- Sources
- 6 public sources
- Freshness
- Revision 2May 26, 14:03 UTC
- Detection
- 2 rules
- Vulnerabilities
- 1 CVE
Revision history 1 entry · Revision 2
- Revision 2
Repaired a legacy canonical identity collision
Changed: slug
A critical command injection vulnerability, identified as CVE-2026-9458, affects Totolink A8000RU routers running firmware version 7.1cu.643_b20200521. The vulnerability resides in the setWanCfg function within the /cgi-bin/cstecgi.cgi file, part of the Web Management Interface. Publicly available exploits demonstrate that by manipulating the enabled argument, a remote, unauthenticated attacker can inject and execute arbitrary operating system commands on the device. This vulnerability poses a significant risk as it allows complete compromise of the router and potentially the network it serves.
Attack Chain
- The attacker sends a crafted HTTP request to the
/cgi-bin/cstecgi.cgiendpoint. - The request targets the
setWanCfgfunction. - The attacker injects malicious OS commands into the
enabledargument of thesetWanCfgfunction. - The webserver processes the request without proper sanitization.
- The
setWanCfgfunction executes the injected OS commands with elevated privileges. - The attacker gains arbitrary code execution on the router's operating system.
- The attacker may then install malware, change router configurations, or use the router as a pivot point for further attacks within the network.
- The attacker achieves full control of the device, potentially leading to data exfiltration or denial of service.
Impact
Successful exploitation of CVE-2026-9458 allows a remote, unauthenticated attacker to execute arbitrary operating system commands on the affected Totolink A8000RU router. This can lead to complete compromise of the device, including the ability to modify router configurations, install malware, intercept network traffic, and pivot to other devices on the network. Given the high CVSS score of 9.8, this vulnerability poses a critical risk to home and small business networks using the affected router model and firmware version.
Recommendation
- Apply available firmware updates from Totolink to patch CVE-2026-9458.
- Monitor web server logs for suspicious POST requests to
/cgi-bin/cstecgi.cgiwith shell metacharacters in the query string, as detected by the "Detect Totolink A8000RU Command Injection Attempt via setWanCfg" Sigma rule. - Implement network intrusion detection systems (IDS) to identify and block exploitation attempts targeting this vulnerability.
- Disable remote access to the router's web management interface if it is not required.
Detection coverage 2
Detect Totolink A8000RU Command Injection Attempt via setWanCfg
criticalDetects CVE-2026-9458 exploitation — HTTP POST to /cgi-bin/cstecgi.cgi with shell metacharacters in the query string targeting the setWanCfg function, indicating a command injection attempt
Detect Totolink A8000RU Suspicious Process Creation
highDetects suspicious process creation events originating from the web server process, potentially indicating command injection.
Detection queries are available on the platform. Get full rules →