{"id":"CVE-2026-25857","aliases":["EUVD-2026-5714","GHSA-m35g-p77j-hqrh"],"status":"published","title":"Tenda G300-F Command Injection via formSetWanDiag","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.","severity":{"version":"4.0","score":8.6,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.03126,"percentile":0.87964,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-78"],"published":"2026-02-07T21:41:41Z","modified":"2026-06-17T10:25:20Z","exploits":[{"source":"pocgithub","id":"eeeeeeeeeevan/CVE-2026-25857","title":"eeeeeeeeeevan/CVE-2026-25857","date":"2026-02-12","url":"https://github.com/eeeeeeeeeevan/CVE-2026-25857"}],"products":[{"vendor":"shenzhen tenda technology","product":"tenda g300-f"},{"vendor":"tenda","product":"g300-f_firmware"}],"references":[{"url":"https://blog.evan.lat/blog/cve-2026-25857/","tags":["technical-description","exploit","Exploit","Third Party Advisory"]},{"url":"https://www.tendacn.com/material/show/736333682028613","tags":["product","Product"]},{"url":"https://www.vulncheck.com/advisories/tenda-g300-f-command-injection-via-formsetwandiag","tags":["third-party-advisory","Third Party Advisory","VDB Entry"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25857"},{"url":"https://blog.evan.lat/blog/cve-2026-25857"},{"url":"https://github.com/advisories/GHSA-m35g-p77j-hqrh"}],"sources":{"cve":[{"id":"CVE-2026-25857","title":"Tenda G300-F Command Injection via formSetWanDiag","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.","status":"published","published":"2026-02-07T21:41:41.34Z","modified":"2026-05-11T23:11:16.434Z","cvss":[{"version":"4.0","score":8.6,"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","level":"high","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T13:41:19.694734Z"}],"euvd":[{"id":"EUVD-2026-5714","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.","status":"published","published":"2026-02-07T21:41:41Z","modified":"2026-05-11T23:11:16Z","cvss":[{"version":"4.0","score":8.6,"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","level":"high"}],"updated_at":"2026-11-02T19:04:41.326864Z"}],"ghsa":[{"id":"GHSA-m35g-p77j-hqrh","title":"Tenda G300-F router firmware versio 16.01.14.2 and prior contain an OS command injection...","description":"Tenda G300-F router firmware versio 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.","status":"published","published":"2026-02-08T00:30:59Z","modified":"2026-03-05T21:30:26Z","cvss":[{"version":"4.0","score":8.6,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:06:28.064128Z"}],"nvd":[{"id":"CVE-2026-25857","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.","status":"published","published":"2026-02-07T22:16:02.607Z","modified":"2026-06-17T10:25:20.147Z","cvss":[{"version":"4.0","score":8.6,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:12:05.52517Z"}]}}
