Skip to content
Threat Feed
high advisory

Remote Command Injection in TOTOLINK X5000R

A remote OS command injection vulnerability in the TOTOLINK X5000R router allows unauthenticated attackers to execute arbitrary commands via the exportOvpn function.

CVE search metadata

CVE search record: CVE-2026-91853. Severity: high. CVSS: 7.4. KEV: no. Product: X5000R (9.1.0cu.2089_B20211224). Brief: Remote Command Injection in TOTOLINK X5000R. Brief link: https://feed.craftedsignal.io/briefs/2026-09-totolink-rce/

The TOTOLINK X5000R router, specifically version 9.1.0cu.2089_B20211224, is susceptible to an OS command injection vulnerability (CVE-2026-91853). The vulnerability resides within the exportOvpn handler, which is invoked via the /cgi-bin/cstecgi.cgi script. An attacker can trigger this flaw by manipulating the filetype argument during an export request. Because the application fails to properly sanitize user-supplied input before passing it to the underlying system shell, an unauthenticated remote attacker can achieve arbitrary code execution. This vulnerability is publicly disclosed, increasing the risk of exploitation by opportunistic actors targeting edge network infrastructure. Defenders should monitor web server logs for suspicious requests directed at the exportOvpn handler.

Impact

Successful exploitation allows unauthenticated remote attackers to execute arbitrary operating system commands on the affected router. This could result in full device compromise, unauthorized access to internal network traffic, and the use of the router as a pivot point for further lateral movement within the environment.

Recommendation

  • Monitor web server traffic for HTTP requests targeting /cgi-bin/cstecgi.cgi with suspicious parameters in the filetype argument.
  • Implement access control lists on edge firewalls to restrict access to the web management interface of affected TOTOLINK routers to trusted IP ranges only.
  • Audit network logs for anomalous outbound connections originating from router infrastructure.

Immediate actions

Deploy Sigma detection rule for web server logs

Detection Engineering 24h

Threat Hunt

Search logs for requests to /cgi-bin/cstecgi.cgi containing shell metacharacters

T1203 high high confidence hunt now

Data: webserver_logs

Detection coverage 1

Detects CVE-2026-91853 Exploitation - Command Injection in TOTOLINK ExportOvpn

high

Detects attempts to exploit CVE-2026-91853 by identifying suspicious manipulation of the filetype parameter in the exportOvpn cgi script.

sigma tactics: execution, initial_access techniques: T1203 sources: webserver

Detection queries are available on the platform. Get full rules →