CVE-2026-45310

HIGH

CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References

Scores

CVSS v3 7.4
EPSS 0.0023
EPSS Percentile 13.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-918
Status published
Products (4)
crates.io/deepseek-tui 0 - 0.8.22crates.io
crates.io/deepseek-tui-cli 0 - 0.8.22crates.io
Hmbown/CodeWhale < 0.8.22
npm/deepseek-tui 0 - 0.8.22npm
Published May 28, 2026
Tracked Since May 28, 2026