CVE-2026-45310
CodeWhale is a DeepSeek + MiMo coding agent in terminal. Prior to …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Hmbown/DeepSeek-TUI/security/advisories/GHSA-96ff-gc8g-wpvg
- github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.22
- github.com/advisories/GHSA-96ff-gc8g-wpvg
- github.com/Hmbown/CodeWhale/security/advisories/GHSA-96ff-gc8g-wpvg
- nvd.nist.gov/vuln/detail/CVE-2026-45310
- nvd.nist.gov/vuln/detail/CVE-2026-45310
- cve.org/CVERecord?id=CVE-2026-45310
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.