{"id":"CVE-2026-45310","published":"2026-05-28T17:30:09Z","modified":"2026-05-30T02:09:17Z","title":"CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool","vendor":"Hmbown","product":"CodeWhale","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00279,"percentile":0.20884,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.22","tags":["x_refsource_MISC"]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":4.18},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"hmbown","affectedVersions":[{"vendor":"Hmbown","product":"CodeWhale","versions":["< 0.8.22"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-30T02:08:49.211461Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"deepseek-tui","vulnerableRanges":["<0.8.22"],"patched":["0.8.22"],"from":["GHSA-96ff-gc8g-wpvg"],"provenance":"source"},{"ecosystem":"crates.io","package":"deepseek-tui-cli","vulnerableRanges":["<0.8.22"],"patched":["0.8.22"],"from":["GHSA-96ff-gc8g-wpvg"],"provenance":"source"},{"ecosystem":"npm","package":"deepseek-tui","vulnerableRanges":["<0.8.22"],"patched":["0.8.22"],"from":["GHSA-96ff-gc8g-wpvg"],"provenance":"source"}],"summary":{"text":"CodeWhale, a terminal coding agent, has a server-side request forgery flaw in its fetch_url tool, where the redirect-following HTTP client does not re-check redirect targets against the blocklist that screens the initial URL. An attacker who can get a victim to fetch a URL they control, which then redirects to an internal address such as a cloud metadata endpoint, localhost, or a private network host, can cause the tool to reach those internal services, with user interaction required to trigger the fetch.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:33Z"},"euvd":{"id":"EUVD-2026-32964","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-45310","published":"2026-05-28","fixed":"0.8.22","kev":false},{"cve":"CVE-2026-45311","published":"2026-05-28","fixed":"0.8.23","kev":false,"link":{"from":"CVE-2026-45310","to":"CVE-2026-45311","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:deepseek-tui","fromFixed":"0.8.22","toFixed":"0.8.23","daysApart":0},{"kind":"version-step","provenance":"source","package":"crates.io:deepseek-tui","fromFixed":"0.8.22","toFixed":"0.8.23","daysApart":0}]}},{"cve":"CVE-2026-75856","published":"2026-08-18","fixed":"0.8.41","kev":false},{"cve":"CVE-2026-75857","published":"2026-08-18","fixed":"0.8.41","kev":false}],"package":"npm:deepseek-tui"}}