CVE-2026-45310CWE-918

CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool

High · published May 28, 2026

CVSS v3.1
7.4
EPSS
0%
Percentile
29.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00368 · 29.5th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2026-05-28T17:30Z
EPSS history
Timeline
  • 28 MAY 17:30Z
    CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool
    cvelistv5