CVE-2026-45310
HIGH 7.4CVSS 3.1DeepSeek TUI has SSRF via HTTP Redirect Bypass in fetch_url Tool
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.
- Published
- 28 May 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-918
- Also known as
- GHSA-96ff-gc8g-wpvg
- Sources
- NVDJSONOSV GHSA-96ff-gc8g-wpvgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | deepseek-tui | < 0.8.22 | 0.8.22 |
| OSV | crates.io | deepseek-tui-cli | < 0.8.22 | 0.8.22 |
| OSV | npm | deepseek-tui | < 0.8.22 | 0.8.22 |
References
- https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg · WEB
- https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.22 · WEB
- https://github.com/Hmbown/DeepSeek-TUI/security/advisories/GHSA-96ff-gc8g-wpvg · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45310 · ADVISORY
- https://github.com/Hmbown/DeepSeek-TUI · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 May 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 14 May 2026)