CVE-2026-45310 HIGH

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

Vendor Hmbown
Product CodeWhale
Weakness CWE-918 · SSRF
Published May 28, 2026
Last update May 30, 2026

CVSS base score

7.4/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 28, 2026 CVE published
May 30, 2026 Record updated

Related vulnerabilities

04Related CVE