{
  "id": "CVE-2026-118238",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-118238",
  "published_at": "2026-10-30T15:08:41.752Z",
  "title": "CVE-2026-118238",
  "vendor": "Tenda",
  "product": "W18E",
  "cvss": {
    "score": 7.2,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/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-10-27T22:42:20Z",
    "first_seen_at": "2026-11-14T11:20:02.754Z",
    "days_after_publication": -2.7,
    "repo": "Cushz/CVE-2026-118238",
    "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: Tenda W18E CVE-2026-118238"
  },
  "description": "The Tenda W18E web management server is vulnerable to OS command injection via the \"diagnose\" packet-capture feature due to improper validation of JSON fields. An authenticated user can inject shell metacharacters into the protocol or targetDevice fields, which are later concatenated into a tcpdump command and executed with root privileges. This vulnerability can be exploited without authentication if the device is in a factory-reset state.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cisa-adp": 7.2
  },
  "repos": [
    {
      "repo": "Cushz/CVE-2026-118238",
      "url": "https://github.com/Cushz/CVE-2026-118238",
      "created_at": "2026-10-27T22:42:20Z",
      "first_seen_at": "2026-11-14T11:20:02.754Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-06-26T09:50:18Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Tenda",
        "product": "W18E",
        "ranges": [
          "V16.01.0.20"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://cushz.github.io/en/exploit-development/2026/10/27/hacking-routers-for-fun-and-not-profit.html",
      "source": "pocindex",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T11:25:11.578Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/pwn.txt",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "Cushz/CVE-2026-118238"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Cushz/CVE-2026-118238/EXPECTED_OUTPUT.txt:24",
        "Cushz/CVE-2026-118238/EXPECTED_OUTPUT.txt:26"
      ]
    }
  ],
  "rules": []
}
