Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or guess low-privilege management credentials
-
DeliveryAuthenticate to Tenda G0 httpd web interface
-
ExploitCraft oversized portMirrorMirroredPorts POST payload
-
ExecutionSubmit request to /goform/module endpoint
-
PersistTrigger stack buffer overflow in formSetPortMirror
-
ImpactOverwrite return address and execute arbitrary code
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
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 CVSS 4.0 vector specifies PR:L - exploitation requires low-privilege authenticated access to the Tenda G0 httpd web management interface; unauthenticated remote exploitation is not supported by the available data. The vulnerability is triggered specifically through the Port Mirror configuration feature: the attacker must submit a POST request to the /goform/module endpoint with an oversized portMirrorMirroredPorts parameter, meaning the Port Mirroring functionality of the management interface must be accessible to the authenticated session. Network reachability to the device's HTTP management port is required. Limiting factors: valid credentials (at any privilege level) must be obtained first; the management interface must not be firewalled from the attacker's position; and exploitation behavior on firmwares with stack canaries or ASLR (if any) is not addressed in available sources. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) scores 7.4 and indicates network-reachable, low-complexity exploitation requiring low-privilege authentication, with full impact across confidentiality, integrity, and availability. The E:P supplemental metric reflects the confirmed public proof-of-concept. No CISA KEV listing exists, so confirmed active exploitation at scale is not established - however, the public PoC and the historically weak exploit mitigations on consumer Tenda firmware make this a credible near-term exploitation risk. Any organization running Tenda G0 devices with the management interface exposed to untrusted networks - even a mid-sized network operator in radom deploying these as CPE devices - should treat remediation as urgent given the trivial post-auth exploitation path. EPSS data was not provided in the input; risk prioritization relies on CVSS vector, E:P tag, and PoC availability. The PR:L requirement is a partial mitigating factor - credential theft or default credential use could bridge this gap on poorly managed devices. |
| Exploit ScenarioDerived | An attacker who has obtained low-privilege credentials to the Tenda G0 management interface - via credential stuffing against default credentials or lateral movement - sends a crafted HTTP POST request to /goform/module with a portMirrorMirroredPorts value far exceeding the expected buffer size. The formSetPortMirror function copies this input onto the stack without bounds checking, overwriting the return address and enabling control-flow hijack or device crash. A public proof-of-concept demonstrating this technique is available at https://github.com/lipenghai/iot_bug/blob/main/Tenda/G0/1.md, providing a ready template for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 14, 2026
Stack-based buffer overflow in the Tenda G0 router's httpd web management interface allows network-adjacent or remote authenticated attackers to corrupt stack memory by supplying an oversized value to the portMirrorMirroredPorts argument of the formSetPortMirror function at the /goform/module endpoint. All G0 firmware builds through 20260625 are confirmed affected per EUVD-2026-58575 and NVD CPE data. A public proof-of-concept exploit is available on GitHub, materially lowering the bar for exploitation; no CISA KEV listing has been identified, so active widespread exploitation is not confirmed at time of analysis.
Earlier versions of this analysis (1)
Stack-based buffer overflow in the Tenda G0 router's httpd web management interface allows remote low-privileged attackers to execute arbitrary code by supplying an oversized portMirrorMirroredPorts argument to the formSetPortMirror function at /goform/module. All firmware versions up to build 20260625 are affected per NVD/VulDB data, and a public proof-of-concept exploit is confirmed available on GitHub, substantially lowering the bar for exploitation. No vendor-released patch has been identified at time of analysis, leaving devices exposed without compensating controls.
RemediationAI
No vendor-released patch identified at time of analysis - patch availability should be monitored via https://www.tenda.com.cn/ and the VulDB entry at https://vuldb.com/vuln/389757. Until a firmware update is available, the primary compensating control is to block external network access to the httpd management interface (typically TCP 80/443) using an upstream firewall or ACL, preventing network-reachable exploitation at the cost of disabling remote web-based management. As an additional control, change any default credentials on the device to reduce the risk of credential-based access enabling exploitation - the PR:L requirement means valid low-privilege credentials must first be obtained. Do not expose the Tenda G0 management interface directly to the internet or untrusted VLANs. Monitor the GitHub PoC repository at https://github.com/lipenghai/iot_bug/blob/main/Tenda/G0/1.md for weaponization updates.
Affected VersionsENISA
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
Tenda G0 is a SOHO/consumer-grade router running an embedded HTTP daemon (httpd) that serves the device's web-based management interface. The vulnerable code path is the formSetPortMirror handler, which processes the port mirroring configuration submitted via HTTP POST to /goform/module. CWE-121 (Stack-Based Buffer Overflow) identifies the root cause: the function copies the caller-supplied portMirrorMirroredPorts string into a fixed-size stack buffer without validating input length, enabling a classic stack smash. The affected CPE is cpe:2.3:a:tenda:g0:*:*:*:*:*:*:*:*, covering all sub-versions up to the 20260625 firmware build. Exploitation feasibility on embedded MIPS/ARM routers typically depends on whether stack canaries and ASLR are implemented in the firmware; consumer Tenda devices historically ship without these protections.
Know when G0 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Network-reachable via web interface, low complexity, but PR:L required per CVSS 4.0 input; no scope change as impact is confined to the router itself.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in Tenda G0 up to 20260625. This issue affects the function formSetPortMirror of the file /goform/module of the component httpd Web Management Interface. Such manipulation of the argument portMirrorMirroredPorts leads to stack-based buffer overflow. The attack can be executed remotely. The exploit is publicly available and might be used.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
A stack-based buffer overflow in Tenda G0 routers' web management interface (CVE-2026-19790, CVSS 7.4) allows authenticated network users to corrupt memory and potentially disrupt router operations or gain control. Organizations using G0 devices for network infrastructure are at risk, particularly those with multiple users accessing the management interface or where network segmentation is weak.
No vendor-released patch identified at time of analysis. Restrict access to the /goform/module endpoint and web management interface to authenticated users via network-segmented administrative access or VPN. Implement firewall rules limiting management access by IP address and require VPN for remote administration. Monitor access logs for oversized portMirrorMirroredPorts arguments and repeated failed authentication attempts. Disable unused management protocols. These interim mitigations reduce but do not eliminate risk; device replacement should be prioritized.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Buffer overflow in the Tenda G0 router's httpd web management interface allows authenticated remote attackers to corrupt
Stack-based buffer overflow in the Tenda G0 router's httpd web management interface allows low-privileged remote attacke
EUVD-2026-58575
GHSA-hrjq-f2xj-8982
NVD
CVE.org
EPSS
VulDB
Exploit-DB