Skip to content

CVE-2026-45310 CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool

HighCVSS 7.4 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
crates.io deepseek-tui(crates.io) < 0.8.22 0.8.22 Fixed
crates.io deepseek-tui-cli(crates.io) < 0.8.22 0.8.22 Fixed
npm deepseek-tui(npm) < 0.8.22 0.8.22 Fixed
Hmbown CodeWhale = < 0.8.22 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Hmbown CodeWhale = < 0.8.22 No fix listed
crates.io deepseek-tui(crates.io) < 0.8.22 0.8.22
crates.io deepseek-tui-cli(crates.io) < 0.8.22 0.8.22
npm deepseek-tui(npm) < 0.8.22 0.8.22

References