{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45310","id":"CVE-2026-45310","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 (reqwe","descriptionLong":"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.","published":"2026-05-28T17:30:09.575Z","updated":"2026-10-28T02:31:08.220050824Z","reserved":"2026-05-11T20:50:30.538Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["Hmbown CodeWhale"],"affectedProducts":[{"vendor":"Hmbown","product":"CodeWhale","defaultStatus":null,"versions":[{"version":"< 0.8.22","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"deepseek-tui","purl":"pkg:cargo/deepseek-tui","ranges":["<0.8.22"],"fixed":["0.8.22"],"advisory":"GHSA-96ff-gc8g-wpvg"},{"ecosystem":"crates.io","name":"deepseek-tui-cli","purl":"pkg:cargo/deepseek-tui-cli","ranges":["<0.8.22"],"fixed":["0.8.22"],"advisory":"GHSA-96ff-gc8g-wpvg"},{"ecosystem":"npm","name":"deepseek-tui","purl":"pkg:npm/deepseek-tui","ranges":["<0.8.22"],"fixed":["0.8.22"],"advisory":"GHSA-96ff-gc8g-wpvg"}],"cwes":["CWE-918"],"aliases":["GHSA-96ff-gc8g-wpvg"],"references":[{"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.22","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45310.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45310","tags":["advisory"]},{"url":"https://github.com/Hmbown/DeepSeek-TUI/security/advisories/GHSA-96ff-gc8g-wpvg","tags":["web"]},{"url":"https://github.com/Hmbown/DeepSeek-TUI","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00279,"epssPercentile":0.20687,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45310","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45310","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45310","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-96ff-gc8g-wpvg","ok":true,"note":"GHSA-96ff-gc8g-wpvg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45310","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}