Skip to main content

TOTOLINK A3300R CVE-2026-31178

| EUVDEUVD-2026-25246 CRITICAL
OS Command Injection (CWE-78)
2026-04-23 mitre GHSA-4w7w-qm22-5p9j
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach router web interface
  2. Delivery
    Send crafted POST to /cgi-bin/cstecgi.cgi
  3. Exploit
    Inject shell metacharacters via stunMaxAlive
  4. Execution
    Command runs as root on device
  5. Persist
    Install payload / join botnet
  6. Impact
    Pivot into internal network

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

The attacker must be able to send an HTTP request to the router's management CGI at /cgi-bin/cstecgi.cgi and supply a malicious stunMaxAlive parameter containing shell metacharacters - the exact feature is the STUN keep-alive configuration handler. The CVSS vector states AV:N/AC:L/PR:N/UI:N, implying no authentication or user interaction against firmware v17.0.0cu.557_B20221024; however, TOTOLINK cstecgi.cgi endpoints frequently require a valid session, so the unauthenticated claim should be confirmed against the PoC. Practical limiting factors: the management interface must be reachable by the attacker (LAN by default; only exploitable remotely if WAN/remote administration is enabled), and only the named firmware build is confirmed affected.

Impact

The signals conflict in the usual way for embedded-device CVEs. The raw CVSS is 9.8 (network, low complexity, no privileges, total impact) and SSVC rates it Automatable=yes with Technical Impact=total, which argues for high priority; a public PoC exists, lowering the bar to exploit. Against that, EPSS is only 0.06% (19th percentile) and there is no CISA KEV listing, indicating no observed mass exploitation - consistent with a niche SOHO router that attackers target opportunistically (e.g., botnet recruitment) rather than at internet scale. A key caveat: many cstecgi.cgi command-injection bugs in TOTOLINK devices actually require an authenticated/session-bearing request to reach the vulnerable handler, yet the vector asserts PR:N; the source is a MITRE-assigned CVE with only a PoC repo, so the unauthenticated claim should be verified against the PoC before treating remote-unauth as confirmed. Net: genuinely dangerous where the device is exposed or reachable on the LAN, but low real-world spread - prioritize for anyone operating this specific router, deprioritize relative to widely-deployed enterprise CVEs.

Exploit ScenarioDerived

An attacker who can reach the router's web interface sends a crafted request to /cgi-bin/cstecgi.cgi with a stunMaxAlive value containing shell metacharacters (e.g., a semicolon followed by a command). The injected command executes with the CGI's privileges (typically root), letting the attacker drop a payload, enroll the device into a botnet, or pivot into the internal network. A public PoC in the Svigo-o/TOTOLINK-Vul repository demonstrates the injection, reducing the skill needed to reproduce it.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

OS command injection in the TOTOLINK A3300R router firmware (v17.0.0cu.557_B20221024) lets remote attackers run arbitrary system commands by injecting shell metacharacters into the stunMaxAlive parameter handled by the /cgi-bin/cstecgi.cgi endpoint. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes unauthenticated network exploitation with total confidentiality, integrity, and availability impact, effectively granting full control of the device. Publicly available exploit code exists (GitHub PoC), though EPSS is very low (0.06%) and it is not listed in CISA KEV, so exploitation is proof-of-concept rather than confirmed in-the-wild.

RemediationAI

No vendor-released patch identified at time of analysis - no fixed firmware version is cited in the provided data, so monitor the TOTOLINK support site for a firmware update superseding v17.0.0cu.557_B20221024 and apply it once published. As compensating controls: ensure the router's web management interface (/cgi-bin/cstecgi.cgi) is never exposed to the WAN/internet - disable remote/WAN administration, which prevents external exploitation at the cost of losing off-LAN management; restrict LAN-side access to the management interface to a trusted admin host or VLAN/ACL, accepting the inconvenience of managing from only that host; change default credentials and place the device behind a separate firewall segment; and if the STUN/keep-alive feature is not needed, disable it to reduce reachability of the vulnerable handler. Validate all changes against the PoC at https://github.com/Svigo-o/TOTOLINK-Vul, and consider replacing end-of-support SOHO hardware if no firmware fix appears.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The A3300R is a consumer/SOHO wireless router whose web management interface is driven by the cstecgi.cgi CGI binary - a common request dispatcher across many TOTOLINK devices that maps JSON/form parameters to internal handler functions. This flaw is CWE-78 (Improper Neutralization of Special Elements used in an OS Command): the stunMaxAlive value, which nominally configures a STUN keep-alive interval, is passed into a shell command (typically via system()/popen() or a call to a busybox utility) without sanitization, so characters such as ; | ` $() break out of the intended command and execute attacker-supplied commands. Because embedded router CGIs typically run as root, injected commands inherit full privileges. The CPE in the feed is a placeholder (cpe:2.3:a:n/a:n/a:*), so exact affected-product enumeration must come from the description rather than structured CPE data.

Know when N A 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

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

OS command injection via a web CGI yields total device compromise; PR:L reflects that cstecgi.cgi handlers typically need a session, an area where the source vector's PR:N is unverified.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Apr 23, 2026 - 19:27 NVD
9.8 (CRITICAL)
CVE Published
Apr 23, 2026 - 00:00 nvd
CRITICAL 9.8

DescriptionCVE.org

An issue was discovered in ToToLink A3300R firmware v17.0.0cu.557_B20221024 allowing attackers to execute arbitrary commands via the stunMaxAlive parameter to /cgi-bin/cstecgi.cgi.

Executive ViewAI

Why It Matters

A critical remote command execution vulnerability (CVE-2026-31178) in TOTOLINK A3300R routers allows unauthenticated attackers to gain complete control of affected devices, exposing organizations to network compromise, data exfiltration, and lateral movement into internal systems. Any organization relying on these routers as perimeter security devices faces immediate risk of network access loss and infrastructure hijacking. Firmware v17.0.0cu.557_B20221024 and earlier require urgent isolation pending remediation.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) network segmentation isolating routers to management VLANs; (2) administrative access control restricting management interfaces to bastion hosts only; (3) continuous monitoring for command injection attempts targeting the stunMaxAlive parameter; (4) configuration change auditing and alerting; (5) out-of-band access maintenance for incident response. These controls reduce exploit likelihood but do not eliminate the vulnerability-patch availability or device replacement remains the only durable solution.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Prevalence
Low
niche consumer/SOHO router, limited and regional deployment footprint
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy