Summary
CVE-2026-138274 is an improper authentication vulnerability (CWE-287) in the loginCheck function of /bin/httpd in the Web Management Interface of Tenda W12 3.0.0.7. It can be exploited remotely over the network without authentication or user interaction. The CVE record rates it Critical (CVSS 10.0). A public exploit repository exists.
Technical details
- Root cause: According to the public researcher write-up,
loginCheck()decides whether a request is authenticated by looking at the first JSON key the client supplies instead of at session state. It uses substring matching (strstr()) for"sysLoginGet"or"apQuicksetGet". When that first key passes, the whole JSON body is treated as authenticated, even though the dispatcher processes all top-level keys. - Trigger conditions: An unauthenticated POST to
/goform/moduleswith a JSON object whose first key containssysLoginGetorapQuicksetGet, followed by keys for privileged operations (e.g.lanCfgSet). No valid session cookie is required. - Attack vector: Network. Reachable from the WAN if remote management is enabled, per the researcher write-up.
- Impact: Per the researcher write-up, an attacker can read and modify settings exposed by the dispatcher (network, Wi-Fi, firewall, remote management). The write-up also describes a path to pre-authentication remote code execution via stack overflows in CGI handlers.
- Exploit status: A public PoC and write-up are available. The CVE record marks exploit maturity as proof-of-concept.
Affected software
- Tenda W12 firmware 3.0.0.7 (Web Management Interface,
/bin/httpd)
Severity
- CVSS v3.1 base score: 10.0 (Critical)
- Vector (as published in the CVE record):
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C - CVSS v4.0 score: 10.0,
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Mitigation and recommended actions
- Immediate: No vendor patch or advisory was identified during research. Check the Tenda support site for updated W12 firmware and apply it once available.
- Disable remote (WAN) management and do not expose the web management interface to the internet.
- Restrict access to the management interface to trusted internal management networks or VPN, using ACLs or firewall rules.
- Monitor for unauthenticated POST requests to
/goform/modules, and review device configuration for unexpected changes.

