Tenda AC18
CVE-2026-38142
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP POST to /goform/fast_setting_internet_set
-
DeliveryInject shell payload into mac parameter
-
ExploitRouter stores malicious value in config
-
ExecutionTrigger config evaluation via follow-on request
-
PersistInjected command executes as root
-
ImpactFull router compromise achieved
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 | The vulnerability requires no authentication, no special configuration, and no user interaction - the /goform/fast_setting_internet_set endpoint is exposed by default on the LAN interface and may also be reachable via the WAN interface depending on whether remote management is enabled. The attack is network-accessible and automated. The second-order nature means exploitation requires two steps: first, a write request to store the payload via the mac parameter; second, a trigger condition (a follow-on request or an internal router event) that causes the stored value to be interpreted as a shell command. The trigger may be automatable without additional operator interaction, consistent with SSVC Automatable:yes. Exploitation is limited to firmware version v15.03.05.05; other Tenda AC18 firmware versions have not been confirmed affected. WAN-side exposure requires remote management to be enabled, which is not the default on most Tenda consumer devices - LAN-side exploitation requires attacker presence on the same local network segment. |
| Impact | Despite the relatively modest NVD CVSS base score of 6.5 (C:L/I:L/A:N), the real-world risk is considerably higher and the reported score appears underweighted for a network-accessible unauthenticated command injection primitive. SSVC signals confirm: exploitation is poc-stage and the attack is automatable with partial technical impact - but partial SSVC impact does not preclude router rootkit deployment. The CVSS C:L/I:L/A:N vector conflicts with the CWE-77 characterization: successful OS command injection on an embedded Linux router typically yields full confidentiality (credentials, VPN keys, PPPoE passwords), full integrity (firmware modification, DNS hijacking, traffic interception), and full availability (reboot, brick). This discrepancy should be verified against the vendor's advisory if one becomes available. EPSS data is absent from the input, so exploitation probability cannot be quantitatively benchmarked. KEV status is negative, indicating no confirmed mass exploitation at time of analysis. The combination of PR:N, AC:L, UI:N, and SSVC Automatable:yes means this is a strong candidate for automated scanning and exploit wormability if weaponized. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a crafted HTTP POST request to http://[router-ip]/goform/fast_setting_internet_set with the mac parameter containing a shell metacharacter payload such as ; id > /tmp/pwned &. The router's CGI handler writes the unsanitized value into a persistent configuration store, and when that configuration is subsequently applied or read by a privileged background process, the injected command executes as root. A proof-of-concept demonstrating this technique has been published by the researcher; the automatable SSVC rating indicates this can be scripted for mass scanning of internet-exposed Tenda AC18 units. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Unauthenticated OS command injection in Tenda AC18 v15.03.05.05 exposes the device to full remote compromise via a crafted HTTP request to the /goform/fast_setting_internet_set endpoint. The vulnerability is a second-order (stored) injection through the mac parameter - malicious payloads are written into device configuration and executed when triggered. No public exploit identified at time of analysis, though SSVC confirms a proof-of-concept exists and the attack is automatable, making mass exploitation technically feasible against internet-exposed devices.
RemediationAI
No vendor-released patch has been identified at time of analysis; Tenda has not published a security advisory for this CVE. Until a patched firmware is released, administrators should immediately disable remote (WAN-side) management access on the AC18 to prevent unauthenticated internet exposure of the /goform/ CGI interface - this eliminates the most critical attack surface but does not protect against LAN-side threats from compromised devices. If the router's administration panel must remain accessible, restrict access to trusted IP ranges using the router's access control or upstream firewall rules; this raises the effective attack complexity significantly. Network segmentation placing the router's management plane behind a separate VLAN or jump host limits lateral post-exploitation reach. Monitor for unexpected outbound connections or DNS changes from the router as indicators of compromise. Check the researcher's GitHub repository at the reference URL and the Tenda support portal for firmware updates, and apply any released update immediately. Do not rely on the router's built-in firewall alone as compensating control - the vulnerable endpoint is served by the router itself.
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 Tenda AC18 is a consumer/SOHO dual-band wireless router running firmware v15.03.05.05. The affected endpoint /goform/fast_setting_internet_set handles quick internet setup configuration, and the mac parameter is passed to a shell command without sanitization, satisfying CWE-77 (Improper Neutralization of Special Elements used in a Command). The second-order nature documented in the researcher's PDF indicates the injected value is first persisted to device storage or configuration, then executed in a subsequent privileged context - a common pattern in embedded Linux firmware where goform CGI handlers write parameters into UCI or similar config files that are later consumed by scripts running as root. The CPE provided (cpe:2.3:a:n/a:n/a) is non-specific and does not enumerate the firmware precisely; the exact affected scope is confirmed by the researcher's documentation to be v15.03.05.05.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Unauthenticated network command injection on a router yields full C/I/A and scope change affecting downstream network traffic; AC:L confirmed by SSVC Automatable:yes.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
An unauthenticated command injection vulnerability in the /goform/fast_setting_internet_set endpoint of Tenda AC18 v15.03.05.05 allows attackers to execute arbitrary commands via a crafted payload injected into the mac parameter.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB