{"id":"CVE-2026-45310","state":"PUBLISHED","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.","publishedAt":"2026-05-28T17:30:09.575Z","updatedAt":"2026-05-30T02:09:17.696Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Hmbown CodeWhale"],"affected":[{"vendor":"Hmbown","product":"CodeWhale","versions":[{"version":"< 0.8.22","status":"affected"}]}],"references":["https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg","https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.22"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45310.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45310","state":"PUBLISHED","datePublished":"2026-05-28T17:30:09.575Z","dateUpdated":"2026-05-30T02:09:17.696Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-11T20:50:30.538Z"},"containers":{"cna":{"title":"CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Hmbown","product":"CodeWhale","versions":[{"version":"< 0.8.22","status":"affected"}]}],"references":[{"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg","name":"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","name":"https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.22","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-28T17:30:09.575Z"},"source":{"advisory":"GHSA-96ff-gc8g-wpvg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-30T02:08:49.211461Z","id":"CVE-2026-45310","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-30T02:09:17.696Z"}}]}}}