{
  "id": "CVE-2026-25857",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-25857",
  "published_at": "2026-02-07T21:41:41.34Z",
  "title": "Tenda G300-F Command Injection via formSetWanDiag",
  "vendor": "Shenzhen Tenda Technology",
  "product": "Tenda G300-F",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-02-12T19:30:10Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 4.9,
    "repo": "eeeeeeeeeevan/CVE-2026-25857",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Router / network device",
    "confidence": "high",
    "reason": "known edge product: Shenzhen Tenda Technology Tenda G300-F Tenda G300-F Command Injection"
  },
  "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.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:o:tenda:g300-f_firmware:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6,
    "nvd": 8.8
  },
  "repos": [
    {
      "repo": "eeeeeeeeeevan/CVE-2026-25857",
      "url": "https://github.com/eeeeeeeeeevan/CVE-2026-25857",
      "created_at": "2026-02-12T19:30:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-02-17T05:24:56Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Shenzhen Tenda Technology",
        "product": "Tenda G300-F",
        "ranges": [
          "\u003c= 16.01.14.2"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://blog.evan.lat/blog/cve-2026-25857/",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/goform/getModules/quick",
      "body_markers": [
        "\"diagnose\""
      ],
      "content_type": "application/json",
      "protocol": "http",
      "repos": [
        "eeeeeeeeeevan/CVE-2026-25857"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "eeeeeeeeeevan/CVE-2026-25857/xp.py:29",
        "eeeeeeeeeevan/CVE-2026-25857/xp.py:60"
      ]
    },
    {
      "method": "POST",
      "path_template": "/goform/setModules/quick",
      "body_markers": [
        "\"diagnose\""
      ],
      "content_type": "application/json",
      "protocol": "http",
      "repos": [
        "eeeeeeeeeevan/CVE-2026-25857"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "eeeeeeeeeevan/CVE-2026-25857/xp.py:18",
        "eeeeeeeeeevan/CVE-2026-25857/xp.py:51"
      ]
    }
  ],
  "rules": []
}
