CVE-2026-45310
published high CVSS 3.1 · 7.4CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Hmbown | — | CodeWhale< 0.8.22 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Hmbown | CodeWhale | < 0.8.22 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
2Provider assertions
2GitHub_M · cna
CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e2c5a08f8a2a7ab690dc9b08ec1425fb937d42ab8288b94060ffe12168838bfa
- Ingested
- 23 Sep 2026, 09:15:37 UTC
- Source record
- Official CVE record