CVE-2026-25857 Details
Description
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.
An OS command injection vulnerability has been identified in the Tenda G300-F router, affecting firmware versions through 16.01.14.2. The vulnerability arises in the WAN diagnostic feature, specifically within the 'formSetWanDiag' functionality. The issue occurs because the implementation creates a shell command that uses curl, incorporating input from the user without proper sanitization. This flaw allows remote attackers with access to the management interface to inject additional shell commands and execute arbitrary commands on the device, using the privileges of the management process.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.evan.lat/blog/cve-2026-25857/ | [email protected] | ExploitThird Party Advisory |
| https://www.tendacn.com/material/show/736333682028613 | [email protected] | Product |
| https://www.vulncheck.com/advisories/tenda-g300-f-command-injection-via-formsetwandiag | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tenda g300-f firmware | <= 16.01.14.2 |
CPE
Remediation
| |
| tenda g300-f | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 5, 2026 | Initial Analysis | [email protected] |
| Feb 10, 2026 | CVE Modified | [email protected] |
| Feb 7, 2026 | New CVE Received | [email protected] |