{"id":"CVE-2026-45310","revision":"c8e576ebe4af4dbeab1f2c755199469e","records":[{"revision":"c8e576ebe4af4dbeab1f2c755199469e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-45310","aliases":[],"title":"CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool","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.","state":0,"publishedAt":"2026-05-28T17:30:09.575+00:00","modifiedAt":"2026-05-30T02:09:17.696+00:00","affected":[{"ecosystem":"Vendor product","name":"CodeWhale","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Hmbown\",\n                    \"product\": \"CodeWhale\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.8.22\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"severity":"HIGH"}],"references":["https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg","https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.22"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-45310","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-45310","identifiers":["CVE-2026-45310"]},"retained":false,"historicalAffected":[]}],"coverage":[]}