Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Tenda CH22 device
-
DeliverySend crafted POST request to /goform/createFileName
-
ExploitInject oversized fileNameMit parameter
-
ExecutionTrigger stack-based buffer overflow
-
ImpactExecute 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 | Requires authenticated access to Tenda CH22 router firmware version 1.0.0.1. Attacker must have valid login credentials to access the /goform/createFileName endpoint and send a crafted fileNameMit parameter to trigger stack-based buffer overflow. |
| Impact | Real-world risk is HIGH despite requiring authentication. The CVSS v4.0 score of 7.4 reflects high confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H) with network-based attack vector (AV:N), low complexity (AC:L), and low-privilege requirements (PR:L). Critically, publicly available exploit code exists (confirmed by GitHub repository reference), dramatically reducing the skill level required for exploitation. The CVSS E:P (Proof-of-concept) modifier confirms weaponized code availability. Many Tenda routers ship with default credentials or weak password policies, effectively lowering the authentication barrier in practice. Once authenticated to the web interface (often accessible from LAN, sometimes WAN if remote management enabled), attackers can trigger the overflow to gain complete device control, pivot into internal networks, modify DNS settings for traffic interception, or establish persistent backdoors. The attack is automatable given the public exploit code. However, exploitation probability is somewhat constrained by the need for initial authentication and typical deployment behind NAT (limiting direct internet exposure). No CISA KEV listing indicates this is not confirmed as actively exploited in widespread campaigns at time of analysis, but the public exploit significantly elevates imminent risk for exposed devices. |
| Exploit ScenarioDerived | An attacker first targets Tenda CH22 routers exposed via port forwarding or with remote management enabled, using credential stuffing with default Tenda credentials (admin/admin) or harvested passwords from breach databases. Once authenticated to the web management interface, the attacker crafts an HTTP POST request to /goform/createFileName with an oversized fileNameMit parameter containing shellcode. The formCreateFileName function copies this unchecked input into a stack buffer, overflowing into the return address. Upon function return, execution jumps to attacker-controlled shellcode, granting root-level access to the embedded Linux system. The attacker then installs a persistent backdoor, modifies DNS settings to redirect banking traffic to phishing sites, or uses the compromised router as a foothold to scan and attack other devices on the victim's internal network. The public GitHub exploit provides ready-to-use code requiring minimal modification. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 30, 2026
Stack-based buffer overflow in Tenda CH22 router version 1.0.0.1 allows authenticated remote attackers to achieve arbitrary code execution via the formCreateFileName function. The vulnerability resides in the /goform/createFileName endpoint where insufficient input validation of the 'fileNameMit' parameter enables memory corruption. Publicly available exploit code exists on GitHub, significantly lowering the barrier to exploitation. While requiring low-privilege authentication (PR:L), the attack complexity is low (AC:L) and can be executed remotely over the network.
RemediationAI
No vendor-released patch identified at time of analysis. The provided Tenda vendor reference (https://www.tenda.com.cn/) does not link to a specific firmware update or security bulletin addressing CVE-2026-5152. Users should immediately check the Tenda support portal for firmware updates newer than version 1.0.0.1 and apply them if available. As interim mitigations: (1) disable remote management access to the web interface to limit attack surface to LAN-only, (2) change default administrative credentials to strong unique passwords to raise the authentication barrier, (3) implement network segmentation to isolate the router management interface from untrusted networks, (4) monitor authentication logs for suspicious login attempts to /goform/ endpoints. For enterprise environments, consider replacing affected devices with enterprise-grade networking equipment that receives regular security updates. Review VulDB entries at https://vuldb.com/vuln/354184 and https://vuldb.com/vuln/354184/cti for ongoing intelligence updates. Given the availability of public exploit code (https://github.com/Litengzheng/vuldb_new/blob/main/CH22/vul_50/README.md), treatment as a high-priority vulnerability is warranted even without confirmed active exploitation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects the Tenda CH22 router firmware (CPE: cpe:2.3:a:tenda:ch22:*:*:*:*:*:*:*:*), specifically version 1.0.0.1. The flaw is classified as CWE-121 (Stack-based Buffer Overflow), a memory corruption issue where unchecked input exceeds allocated buffer boundaries on the stack. The formCreateFileName function in the /goform/createFileName endpoint fails to properly validate the length of the 'fileNameMit' parameter before copying it into a fixed-size stack buffer. This classic buffer overflow condition allows attackers to overwrite adjacent memory, including return addresses and function pointers, enabling control flow hijacking. Consumer-grade routers like the Tenda CH22 frequently run embedded Linux systems with limited memory protection mechanisms (no ASLR, stack canaries, or DEP), making stack-based overflows particularly dangerous in these environments. The /goform/ directory typically hosts the router's web management interface CGI handlers.
Know when Tenda 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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in Tenda CH22 1.0.0.1. Impacted is the function formCreateFileName of the file /goform/createFileName. Performing a manipulation of the argument fileNameMit results in stack-based buffer overflow. The attack may be initiated remotely. The exploit is now public and may be used.
Executive ViewAI
Tenda CH22 router version 1.0.0.1 contains a stack-based buffer overflow in the file creation endpoint that allows authenticated users with low-privilege access to execute arbitrary code remotely. Organizations deploying this router model face immediate risk of complete device compromise and potential lateral movement into network infrastructure, particularly concerning given publicly available exploit code and absence of vendor patches.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to vulnerable /goform/createFileName endpoint using firewall ACLs or WAF rules; (2) Limit administrative access to low-privilege accounts on affected devices; (3) Isolate CH22 routers to separate network segments with minimal trust relationships; (4) Implement network segmentation to prevent lateral movement from compromised router to critical assets; (5) Monitor for suspicious file creation activity on affected devices.
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.
Tenda ONT GPON AC1200 Dual band WiFi HG9 v1.0.1 is vulnerable to Command Injection via the Ping function. Rated high sev
Mediabridge Medialink MWN-WAPR300N devices with firmware 5.07.50 and Tenda N3 Wireless N150 devices allow remote attacke
The Shenzhen Tenda Technology Tenda A5s router with firmware 3.02.05_CN allows remote attackers to bypass authentication
Tenda AC9 v15.03.05.14 was discovered to contain a command injection vulnerability via the Telnet function. Rated critic
In Tenda AC9 v1.0 V15.03.05.14_multi, the wanMTU parameter of /goform/AdvSetMacMtuWan has a stack overflow vulnerability
Tenda AC9 V15.03.06.42_multi was found to contain a command injection vulnerability in the formSetSambaConf function via
Tenda AC9 V15.03.06.42_multi was found to contain a command injection vulnerability in the formsetUsbUnload function via
Tenda AC23 v16.03.07.44 was discovered to contain a buffer overflow via fromAdvSetMacMtuWan. Rated critical severity (CV
Tenda AC15 v15.03.05.19 is vulnerable to Command Injection via the handler function in /goform/telnet. Rated critical se
Tenda AX1803 v1.0.0.1 was discovered to contain a command injection vulnerability via the function fromAdvSetLanIp. Rate
Tenda AX3 v16.03.12.11 was discovered to contain a remote code execution (RCE) vulnerability via the list parameter at /
Certain Tenda products are vulnerable to command injection. Rated critical severity (CVSS 9.8), this vulnerability is re
EUVD-2026-17218
GHSA-w9hr-c3cr-g2ww
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB