Skip to main content
CVE Vulnerability Database

CVE-2026-9385: Totolink A8000RU RCE Vulnerability

CVE-2026-9385 is a remote code execution flaw in Totolink A8000RU routers affecting the setTracerouteCfg function. Attackers can exploit OS command injection remotely. This article covers technical details, impact, and mitigation.

Published:

CVE-2026-9385 Overview

CVE-2026-9385 is an operating system (OS) command injection vulnerability in the TOTOLINK A8000RU router running firmware version 7.1cu.643_b20200521. The flaw resides in the setTracerouteCfg function within /cgi-bin/cstecgi.cgi, a component of the Web Management Interface. Attackers can manipulate the command argument to inject arbitrary OS commands. The vulnerability is remotely exploitable over the network and requires no authentication or user interaction. A public exploit has been disclosed, increasing the risk of opportunistic attacks against exposed devices.

Critical Impact

Unauthenticated remote attackers can execute arbitrary operating system commands on affected TOTOLINK A8000RU routers, leading to full device compromise.

Affected Products

  • TOTOLINK A8000RU router
  • Firmware version 7.1cu.643_b20200521
  • Web Management Interface component (/cgi-bin/cstecgi.cgi)

Discovery Timeline

  • 2026-05-24 - CVE-2026-9385 published to NVD
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2026-9385

Vulnerability Analysis

The vulnerability is classified as OS Command Injection [CWE-77]. It affects the setTracerouteCfg function exposed by the cstecgi.cgi binary on the router's Web Management Interface. The traceroute configuration handler accepts a command parameter that is passed to an underlying shell without sanitization or argument validation. Attackers append shell metacharacters to the parameter value to break out of the intended command context and execute arbitrary binaries with the privileges of the web service, typically root on embedded routers. The EPSS score of 0.892% (75.87 percentile) reflects elevated likelihood of exploitation activity given that a public proof of concept already exists.

Root Cause

The setTracerouteCfg handler in cstecgi.cgi constructs a shell command string by concatenating the user-supplied command argument directly into a system() style call. The handler performs no allowlisting, escaping, or input validation on this parameter before invoking the system shell.

Attack Vector

Exploitation requires only network access to the router's HTTP management interface. An attacker sends a crafted POST request to /cgi-bin/cstecgi.cgi invoking the setTracerouteCfg topic with a command field containing shell metacharacters such as ;, |, or backticks followed by attacker-controlled payloads. No credentials or user interaction are required. Where the management interface is exposed to the internet, mass exploitation by botnets targeting embedded devices is a realistic outcome. Refer to the GitHub Vulnerability Documentation for technical details of the disclosed proof of concept.

Detection Methods for CVE-2026-9385

Indicators of Compromise

  • HTTP POST requests to /cgi-bin/cstecgi.cgi containing the setTracerouteCfg topic with shell metacharacters (;, |, &, backticks, $()) in the command parameter.
  • Outbound connections from the router to unfamiliar IP addresses, particularly to known malware staging or command and control infrastructure.
  • Unexpected processes such as wget, curl, tftp, or shell interpreters spawned by the cstecgi.cgi parent process.

Detection Strategies

  • Inspect web server and reverse proxy logs in front of the router for requests targeting cstecgi.cgi with setTracerouteCfg and non-alphanumeric content in command.
  • Deploy network IDS signatures matching command injection patterns in HTTP request bodies destined for TOTOLINK management endpoints.
  • Correlate router DNS and NetFlow telemetry with threat intelligence feeds for embedded device botnet indicators.

Monitoring Recommendations

  • Restrict and monitor administrative access to the router management interface from both LAN and WAN.
  • Forward router syslog and HTTP access logs to a centralized log platform and alert on cstecgi.cgi requests containing shell metacharacters.
  • Baseline outbound traffic from network infrastructure devices and alert on deviations such as new outbound HTTP, IRC, or unusual TCP destinations.

How to Mitigate CVE-2026-9385

Immediate Actions Required

  • Disable remote (WAN) administration on the TOTOLINK A8000RU until a vendor fix is available.
  • Restrict LAN-side access to the Web Management Interface to a dedicated management VLAN or specific administrator IP addresses.
  • Audit the device for signs of compromise, including unfamiliar processes, modified configuration, and unexpected outbound connections, and factory reset suspected devices.

Patch Information

No vendor patch has been referenced in the NVD entry at the time of publication. Monitor the TOTOLINK Security Portal for firmware updates addressing CVE-2026-9385. Additional vulnerability metadata is tracked in the VulDB Vulnerability Information entry.

Workarounds

  • Place the router behind an upstream firewall and block inbound TCP access to the HTTP and HTTPS management ports from untrusted networks.
  • Replace the device with a supported model if vendor updates are not forthcoming, particularly for internet-exposed deployments.
  • Where supported, use access control lists on the router itself to limit which source addresses can reach /cgi-bin/cstecgi.cgi.
bash
# Example upstream firewall rule to block WAN access to the router management interface
iptables -A FORWARD -p tcp -d <router_ip> --dport 80 -j DROP
iptables -A FORWARD -p tcp -d <router_ip> --dport 443 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.