CVE-2026-25857: Tenda G300-F - Command Injection
- Cve: CVE-2026-25857
- Name: Tenda G300-F - Command Injection
- 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.
- Impact: Remote attackers can execute arbitrary commands with management process privileges, potentially taking full control of the device.
- Remediation: Update to the latest firmware version.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirements: Attacker needs access to the management interface
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03126
- Epss percentile: 0.88183
- Assignee: [email protected]
- Published at: 2026-02-07T22:16:02Z
- Age in days: 290
- Modified at: 2026-06-17T10:25:20Z
- Public exploits total: 2
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25857
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://blog.evan.lat/blog/cve-2026-25857/ | nvd | 2026-02-07 |
| https://github.com/eeeeeeeeeevan/CVE-2026-25857 | poc-in-github | 2026-02-12 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://blog.evan.lat/blog/cve-2026-25857/ | Exploit, Third Party Advisory |
| https://www.vulncheck.com/advisories/tenda-g300-f-command-injection-via-formsetwandiag | Third Party Advisory, VDB Entry |
| https://www.tendacn.com/material/show/736333682028613 | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tenda:g300-f_firmware | <= 16.01.14.2 | yes | nvd | /v1/products/tenda/g300-f_firmware |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2026-02-07
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts