CVE-2026-45310Hmbown CodeWhale
High 7.4 No auth needed
- Priority
- 59
- CVSS 3.1
- 7.4
- EPSS
- —
- Auth required
- No
- Published
- May 28, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for CodeWhale.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | deepseek-tui |
< 0.8.22 |
0.8.22 |
cargo update -p deepseek-tui --precise 0.8.22 |
| crates.io | deepseek-tui-cli |
< 0.8.22 |
0.8.22 |
cargo update -p deepseek-tui-cli --precise 0.8.22 |
| npm | deepseek-tui |
< 0.8.22 |
0.8.22 |
npm install deepseek-tui@0.8.22 |
Per OSV / GitHub Advisories (GHSA-96ff-gc8g-wpvg). Check the version in your lockfile before upgrading.
Affected products
- Hmbown · CodeWhale
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.