# CVE-2026-25857: Tenda G300-F Command Injection via formSetWanDiag

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.27%, higher than 89% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-07T21:41:41.340Z
- Modified: 2026-06-17T10:25:20.147Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Shenzhen Tenda Technology Tenda G300-F: up to 16.01.14.2
- tenda g300-f_firmware: up to 16.01.14.2

## Every score

- VulnCheck: CVSS:4.0 8.6 High `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: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2026-25857](https://www.cve.org/CVERecord?id=CVE-2026-25857), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-25857](https://nvd.nist.gov/vuln/detail/CVE-2026-25857), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25857 · Whole record: https://cve.day/CVE-2026-25857.json · Rebuilt by cve.day 2026-11-25T22:59:13.611Z
