Skip to main content

Tenda HG21 CVE-2026-38577

| EUVDEUVD-2026-68879 CRITICAL
Use of Hard-coded Credentials (CWE-798)
2026-08-31 mitre GHSA-9h8p-33cv-g2wj
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Reach HG21 management interface
  2. Exploit
    Submit hardcoded Admin credentials
  3. Execution
    Authenticate as root
  4. Impact
    Full device control and network pivot

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Credential externalization
MITRE ATT&CK

2 techniques across 2 tactics: Persistence, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires network reachability to the HG21's Admin/management service and knowledge of the static hardcoded credential (which is documented publicly), and applies to firmware V4.0.0-260302. No legitimate account, user interaction, or non-default configuration is needed per the CVSS vector (PR:N/UI:N). The principal limiting factor is exposure of the management interface: if the admin service is confined to the LAN or a trusted segment and blocked from the WAN, a remote attacker cannot reach it, reducing realistic risk to on-LAN adversaries despite the AV:N rating.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, base 9.8) describes a network-reachable, low-complexity, unauthenticated attack with full confidentiality, integrity, and availability impact - consistent with static credentials granting root over the network. Countering that, EPSS is only 0.15% (4th percentile) and the CVE is not in CISA KEV, so there is no signal of active or automated mass exploitation at this time. The tension here is typical for consumer-gateway credential bugs: technically trivial and high-impact, but real-world exposure depends on how many HG21 units expose their management interface to untrusted networks (LAN vs. WAN). Priority should be high for any deployment where the device management plane is reachable beyond a trusted segment; the low EPSS reflects limited attacker attention/footprint rather than any mitigating difficulty.

Exploit ScenarioDerived

An attacker who can reach the HG21 management interface (e.g., an exposed WAN-side admin service, or any host on the same LAN segment) supplies the publicly known hardcoded Admin credentials and logs in as root, gaining full control of the gateway. From there they can alter DNS/routing, capture or redirect traffic, pivot into the internal network, or persist on the device. A public gist documents the credential and technique, lowering the effort required.

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 – Sep 01, 2026

Root-level device takeover in the Tenda HG21 gateway (firmware V4.0.0-260302) stems from hardcoded credentials baked into the built-in Admin account, letting attackers authenticate and obtain full root access. The flaw is remotely reachable and requires no legitimate credentials since the login secret is static across devices, and a public GitHub gist writeup/exploit is available. It is not listed in CISA KEV and carries a low EPSS score (0.15%, 4th percentile), indicating no evidence of widespread automated exploitation yet.

RemediationAI

No vendor-released patch identified at time of analysis - no Tenda advisory or fixed firmware version is present in the source data, so a specific upgrade target cannot be cited. Because the credential is hardcoded, it cannot be remediated by changing the Admin password from the UI; treat the device as compromised-by-default on any untrusted network. Actionable compensating controls: restrict access to the device management interfaces (HTTP/HTTPS admin, Telnet/SSH) to a trusted management VLAN or host, and explicitly block management ports from the WAN side (side effect: remote administration is lost, which is desirable here). If management is only needed occasionally, disable remote/WAN management entirely (side effect: on-site or VPN access required for config). Where feasible, place the HG21 behind a separate firewall segment and monitor for logins to the Admin account. Consult the writeup at the gist reference and monitor Tenda for a firmware release that removes or randomizes the credential; replace the device if no fix is issued.

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 affected device is a Tenda HG21 residential gateway/router running firmware V4.0.0-260302. The root cause is CWE-798 (Use of Hard-coded Credentials): the Admin account ships with a fixed, embedded username/password (or equivalent secret) that is identical on every unit and cannot be rotated away by the user, so knowledge of that single credential yields administrative/root control of all deployed devices. Note that the provided CPE string (cpe:2.3:a:n/a:n/a:*) is a placeholder with vendor and product set to 'n/a' and does not correctly identify the product; the actual affected platform is the Tenda HG21 as stated in the description. Tagging this as 'Authentication Bypass' is loosely accurate in effect, though the precise class is hardcoded credentials.

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

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Static hardcoded credential is network-reachable and needs no prior auth or user interaction, yielding root with full C/I/A impact (PR:N, AC:L).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Sep 01, 2026 - 15:22 NVD
9.8 (CRITICAL)
CVE Published
Aug 31, 2026 - 00:00 cve.org
CRITICAL 9.8
CVE Published
Aug 31, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Insecure hardcoded credentials in the Admin account of Tenda HG21 V4.0.0-260302 allows attackers to gain root access.

Executive ViewAI

Why It Matters

Tenda HG21 gateways contain hardcoded administrative credentials enabling publicly available exploit code to achieve unauthenticated root-level device compromise and full network access on all deployed units. This creates immediate risk to network integrity, user data, and connected systems. No vendor patch is currently available.

Business Impact: Severe
Compensating Controls

Network segmentation to restrict HG21 access to trusted administrative zones only; firewall rules blocking unauthorized access to management interfaces; disable remote management functionality if operationally feasible; implement intrusion detection monitoring for hardcoded credential exploitation attempts; enforce network-based authentication or VPN requirement for any administrative access; replace affected units if alternative products become available.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
consumer Tenda gateway model, limited regional/home footprint
Data Quality
6 sources
Confidence: High

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
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

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

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Tenda

View all
CVE-2022-30023 HIGH POC
8.8 Jun 16

Tenda ONT GPON AC1200 Dual band WiFi HG9 v1.0.1 is vulnerable to Command Injection via the Ping function. Rated high sev

CVE-2015-5995 CRITICAL POC
9.8 Dec 31

Mediabridge Medialink MWN-WAPR300N devices with firmware 5.07.50 and Tenda N3 Wireless N150 devices allow remote attacke

CVE-2014-5246 CRITICAL POC
10.0 Aug 22

The Shenzhen Tenda Technology Tenda A5s router with firmware 3.02.05_CN allows remote attackers to bypass authentication

CVE-2025-45042 CRITICAL POC
9.8 May 05

Tenda AC9 v15.03.05.14 was discovered to contain a command injection vulnerability via the Telnet function. Rated critic

CVE-2025-29384 CRITICAL POC
9.8 Mar 14

In Tenda AC9 v1.0 V15.03.05.14_multi, the wanMTU parameter of /goform/AdvSetMacMtuWan has a stack overflow vulnerability

CVE-2025-44877 CRITICAL POC
9.8 May 02

Tenda AC9 V15.03.06.42_multi was found to contain a command injection vulnerability in the formSetSambaConf function via

CVE-2025-44872 CRITICAL POC
9.8 May 02

Tenda AC9 V15.03.06.42_multi was found to contain a command injection vulnerability in the formsetUsbUnload function via

CVE-2022-32386 CRITICAL POC
9.8 Jul 06

Tenda AC23 v16.03.07.44 was discovered to contain a buffer overflow via fromAdvSetMacMtuWan. Rated critical severity (CV

CVE-2025-25632 CRITICAL POC
9.8 Mar 05

Tenda AC15 v15.03.05.19 is vulnerable to Command Injection via the handler function in /goform/telnet. Rated critical se

CVE-2023-51972 CRITICAL POC
9.8 Jan 10

Tenda AX1803 v1.0.0.1 was discovered to contain a command injection vulnerability via the function fromAdvSetLanIp. Rate

CVE-2023-51812 CRITICAL POC
9.8 Jan 04

Tenda AX3 v16.03.12.11 was discovered to contain a remote code execution (RCE) vulnerability via the list parameter at /

CVE-2023-23080 CRITICAL POC
9.8 Feb 27

Certain Tenda products are vulnerable to command injection. Rated critical severity (CVSS 9.8), this vulnerability is re

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy