Cyber Resilience

CVE-2026-31181

CriticalPublic PoCRCE

Published: 23 April 2026

Published
23 April 2026
Modified
27 April 2026
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0058 43.1th percentile
Risk Priority 70 floored blend · peak EPSS

Summary

CVE-2026-31181 is a critical-severity OS Command Injection (CWE-78) vulnerability in Totolink A3300R Firmware. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 43.1th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Deeper analysis

CVE-2026-31181 is a command injection vulnerability (CWE-78) discovered in ToToLink A3300R firmware version v17.0.0cu.557_B20221024. The issue resides in the /cgi-bin/cstecgi.cgi component, where the stunServerAddr parameter fails to properly sanitize user input, enabling attackers to inject and execute arbitrary operating system commands.

With a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), the vulnerability is exploitable remotely over the network by unauthenticated attackers requiring low complexity and no user interaction. Successful exploitation allows arbitrary command execution on the device, granting high-impact control over confidentiality, integrity, and availability, which could result in complete compromise of the affected router.

References point to GitHub repositories at https://github.com/Svigo-o/TOTOLINK-Vul/tree/main/totolink-a3300r-stun-server-addr-cmd-injection, which detail the vulnerability and likely include proof-of-concept code for reproduction and exploitation. No vendor advisories, patches, or official mitigation guidance are specified in the available information.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability details

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059.008 Network Device CLI Execution
Adversaries may abuse scripting or built-in command line interpreters (CLI) on network devices to execute malicious command and payloads.
Why these techniques?

Command injection in public-facing CGI endpoint (/cgi-bin/cstecgi.cgi) enables unauthenticated remote exploitation of public-facing application (T1190) leading to arbitrary OS command execution on network device (T1059.008).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-31178Same product: Totolink A3300R
CVE-2026-31177Same product: Totolink A3300R
CVE-2025-52046Same product: Totolink A3300R
CVE-2026-5105Same product: Totolink A3300R
CVE-2026-5176Same product: Totolink A3300R
CVE-2026-5178Same product: Totolink A3300R
CVE-2026-5101Same product: Totolink A3300R
CVE-2025-12258Same product: Totolink A3300R
CVE-2025-12241Same product: Totolink A3300R
CVE-2025-12259Same product: Totolink A3300R

Affected Assets

totolink
a3300r firmware
17.0.0cu.557_b20221024

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation and sanitization of user inputs like the stunServerAddr parameter to prevent command injection attacks.

prevent

Mandates timely identification, reporting, and remediation of flaws such as the command injection vulnerability in the cstecgi.cgi script.

prevent

Enforces restrictions on input types, formats, and quantities for parameters like stunServerAddr to block malicious command sequences.

References