CVE 7.4 HIGH

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

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

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.

Basic Information

ID CVE-2026-45310
Source GitHub_M
Published May 28, 2026 at 17:30

Affected Product

Vendor Hmbown
Product CodeWhale
Version < 0.8.22
Affected Versions Hmbown CodeWhale < 0.8.22

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.