{
  "id": "CVE-2026-45310",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45310",
  "published_at": "2026-05-28T17:30:09.575Z",
  "title": "CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool",
  "vendor": "Hmbown",
  "product": "CodeWhale",
  "cvss": {
    "score": 7.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "CodeWhale is a DeepSeek + MiMo coding agent in terminal. Prior to 0.8.22, the fetch_url tool validates the initial URL's resolved IP address against a restricted-IP blocklist (is_restricted_ip()) to prevent SSRF attacks against internal services (cloud metadata endpoints, localhost, private networks). However, the HTTP client (reqwest) is configured to automatically follow up to 5 redirects (reqwest::redirect::Policy::limited(5)) without re-validating the redirect target against the same SSRF protections. This vulnerability is fixed in 0.8.22.",
  "cwe": "CWE-918",
  "cvss_by_source": {
    "cna": 7.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Hmbown",
        "product": "CodeWhale",
        "ranges": [
          "\u003c 0.8.22"
        ],
        "fixed_in": [
          "0.8.22"
        ]
      }
    ],
    "upgrade": [
      "Upgrade CodeWhale to 0.8.22 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.22"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
