Skip to content
Fencer Vulns
high 7.4

CVE-2026-45310 json

CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool

published 2026-05-14 5 mo ago modified 2026-10-25 14 d ago also GHSA-96ff-gc8g-wpvg , EUVD-2026-32964

cvss
7.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 20%
public exploits
0
none known

Summary

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.

Patch / fix

  • crates.io deepseek-tui 0.8.22
  • crates.io deepseek-tui-cli 0.8.22
  • npm deepseek-tui 0.8.22

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
5 mo ago

Exploit prediction

0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
GitHub 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
crates.io deepseek-tui
<0.8.22
0.8.22
crates.io deepseek-tui-cli
<0.8.22
0.8.22
npm deepseek-tui
<0.8.22
0.8.22

Affected products

  • Hmbown CodeWhale

Classification

Weakness
  • CWE-918 Server-Side Request Forgery

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.