CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool
Published May 28, 2026
7.4
HIGHCVSS 3.1
EPSS 0.37%
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.
Affected products
-
- Version < 0.8.22StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
deepseek-tui-cli
crates.io
Introduced 0 Fixed 0.8.22deepseek-tui
npm
Introduced 0 Fixed 0.8.22deepseek-tui
crates.io
Introduced 0 Fixed 0.8.22
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| crates.io | deepseek-tui-cli | 0 | 0.8.22 |
| npm | deepseek-tui | 0 | 0.8.22 |
| crates.io | deepseek-tui | 0 | 0.8.22 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed May 30, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
May–Oct 2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.37% (0.00368) | 28.32th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.23% (0.00226) | 13.04th | v5 (v2026.06.15) |
| May 29, 2026 | 0.03% (0.00032) | 9.70th | v4 (v2025.03.14) |
References (5)
- https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg exploitx_refsource_CONFIRM
- https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.22 x_refsource_MISC
- https://github.com/Hmbown/DeepSeek-TUI/security/advisories/GHSA-96ff-gc8g-wpvg
- https://github.com/advisories/GHSA-96ff-gc8g-wpvg Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-45310
Change history (0)
No recorded changes yet.