CVE-2026-25857: Tenda G300-F Command Injection via formSetWanDiag
Tenda G300-F router firmware version 16.01.14.2 and prior contain an OS command injection vulnerability in the WAN diagnostic functionality (formSetWanDiag). The implementation constructs a shell command that invokes curl and incorporates attacker-controlled input into the command line without adequate neutralization. As a result, a remote attacker with access to the affected management interface can inject additional shell syntax and execute arbitrary commands on the device with the privileges of the management process.
Security readout for executives and security teams
Plain-English summary
CVE-2026-25857 affects Tenda G300-F routers. A flaw in the WAN diagnostics feature can let someone who can access the router management interface run operating-system commands on the device. This is serious for exposed or weakly controlled admin interfaces, but the provided sources do not show known active exploitation.
Executive priority
Treat this as a high-priority network edge risk where Tenda G300-F routers are in use. Prioritize sites with exposed management access or shared administrator credentials. If no vendor fix is available, reduce exposure immediately and plan replacement for unsupported devices.
Technical view
The issue is CWE-78 OS command injection in formSetWanDiag. Firmware 16.01.14.2 and prior are described as affected. The vulnerable code builds a shell command using curl and attacker-controlled input without adequate neutralization. CVSS 4.0 is 8.6 high, with network attack vector, low complexity, and high privileges required.
Likely exposure
Organizations using Tenda G300-F routers are potentially exposed if their management interface is reachable by untrusted users, remote administrators, or compromised internal accounts. Internet-exposed management would increase business risk. The source bundle does not confirm a vendor patch or fixed firmware version.
Exploitation context
Public references include a technical blog tagged as exploit and a VulnCheck advisory. However, the source bundle marks CISA KEV as false and provides no cited evidence of active exploitation in the wild. Exploitation requires access to the affected management interface and high privileges according to the CVSS vector.
Researcher notes
The affected-version data is inconsistent in the supplied record: the description names firmware 16.01.14.2 and prior, while the affected object lists version "0" with defaultStatus "unaffected." Use vendor or device firmware evidence to confirm scope. Do not assume active exploitation without new KEV or credible reporting.
Mitigation direction
Identify any Tenda G300-F devices and their firmware versions.
Check Tenda guidance for fixed firmware or replacement recommendations.
Disable internet exposure of router management interfaces.
Restrict management access to trusted admin networks or VPN only.
Rotate router admin credentials where exposure is suspected.
Consider replacing affected devices if no supported fix is available.
Validation and detection
Inventory Tenda G300-F routers across branch and remote sites.
Confirm whether firmware is 16.01.14.2 or earlier.
Review firewall rules for exposed management interfaces.
Check administrative access logs for unexpected management activity.
Monitor vendor and advisory pages for updated remediation details.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
4Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-78 · source CWE mapping
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.