{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25857 exists.","fix":"No fix has been published for CVE-2026-25857 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-25857 is a high-severity command injection vulnerability in Shenzhen Tenda Technology Tenda G300-F, published on 7 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-25857 and fix it if it is affected.\n\nWhat it is: CVE-2026-25857 is a high-severity command injection vulnerability in Shenzhen Tenda Technology Tenda G300-F, published on 7 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25857 exists.\n\nAffected product: Shenzhen Tenda Technology Tenda G300-F. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-25857/ (Markdown: https://insights.sbomify.com/CVE-2026-25857/index.md)","id":"CVE-2026-25857","markdown":"https://insights.sbomify.com/CVE-2026-25857/index.md","name":"CVE-2026-25857","record":{"aliases":["GHSA-m35g-p77j-hqrh"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Tenda G300-F router","requires_auth":"high_privilege","summary":"Remote attackers can execute arbitrary commands on Tenda G300-F routers via the WAN diagnostic interface due to insufficient input sanitization.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"g300-f_firmware","vendor":"tenda"}],"cvss":{"score":8.6,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-02-12","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-02-12T19:30:10Z","kind":"github_poc","ref":"https://github.com/eeeeeeeeeevan/CVE-2026-25857","stars":1,"title":null}],"tier":"weaponised"},"has_fix":null,"headline":"Tenda G300-F Command Injection via formSetWanDiag","id":"CVE-2026-25857","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"macrozheng mall \u003c= 1.0.3 Unauthenticated Password Reset via OTP Disclosure","id":"CVE-2026-25858"},"packages":[],"prev":{"headline":"OpenBullet2 0.3.2 Authenticated RCE via Job Configuration Interface","id":"CVE-2026-25856"},"products":["Tenda G300-F"],"published":"2026-02-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-11","vendors":["Shenzhen Tenda Technology"]},"summary":"Remote attackers can execute arbitrary commands on Tenda G300-F routers via the WAN diagnostic interface due to insufficient input sanitization.","url":"https://insights.sbomify.com/CVE-2026-25857/"}