8.6high
Tenda G300-F Command Injection via formSetWanDiag
- Severity
- 8.6high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 3.27% (higher than 89% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Shenzhen Tenda Technology Tenda G300-F | up to 16.01.14.2 | CVE List |
| tenda g300-f_firmware | up to 16.01.14.2 | NVD |
All scores
| VulnCheck | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
El firmware del router Tenda G300-F, versión 16.01.14.2 y anteriores, contiene una vulnerabilidad de inyección de comandos del sistema operativo en la funcionalidad de diagnóstico WAN (formSetWanDiag). La implementación construye un comando de shell que invoca curl e incorpora entrada controlada por el atacante en la línea de comandos sin una neutralización adecuada. Como resultado, un atacante remoto con acceso a la interfaz de gestión afectada puede inyectar sintaxis de shell adicional y ejecutar comandos arbitrarios en el dispositivo con los privilegios del proceso de gestión.
References
| https://blog.evan.lat/blog/cve-2026-25857/ | exploit, technical-description, third-party-advisory | |
| https://www.tendacn.com/material/show/736333682028613 | product | |
| https://www.vulncheck.com/advisories/tenda-g300-f-command-injection-via-formsetwandiag | third-party-advisory, vdb-entry | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-25857 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-25857 changed 2026-06-17 | Public domain |