Read the docs
TI-2026-33109 Aliases CVE-2026-45310GHSA-96ff-gc8g-wpvg

CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool

Priority HIGH 66CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00279 20th percentileScored 2026-11-07
Fix Fixed CodeWhale (Hmbown): 0.8.22deepseek-tui (crates.io): 0.8.22+2 more products

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
HmbownCodeWhalebefore 0.8.220.8.22Patch availableCNA
—deepseek-tui (crates.io)before 0.8.220.8.22Patch availableGHSA-96ff-gc8g-wpvg
—deepseek-tui-cli (crates.io)before 0.8.220.8.22Patch availableGHSA-96ff-gc8g-wpvg
—deepseek-tui (npm)before 0.8.220.8.22Patch availableGHSA-96ff-gc8g-wpvg
  • CodeWhale VendorHmbown Affected before 0.8.22 Fixed in 0.8.22 Patch available CNA
  • deepseek-tui (crates.io) Vendor— Affected before 0.8.22 Fixed in 0.8.22 Patch available GHSA-96ff-gc8g-wpvg
  • deepseek-tui-cli (crates.io) Vendor— Affected before 0.8.22 Fixed in 0.8.22 Patch available GHSA-96ff-gc8g-wpvg
  • deepseek-tui (npm) Vendor— Affected before 0.8.22 Fixed in 0.8.22 Patch available GHSA-96ff-gc8g-wpvg

Remediation

  • Fix · CNA CodeWhale (Hmbown) Fixed in 0.8.22
  • Fix · GHSA-96ff-gc8g-wpvg deepseek-tui (crates.io) Fixed in 0.8.22 Advisory →
  • Fix · GHSA-96ff-gc8g-wpvg deepseek-tui-cli (crates.io) Fixed in 0.8.22 Advisory →
  • Fix · GHSA-96ff-gc8g-wpvg deepseek-tui (npm) Fixed in 0.8.22 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45310
  2. 2026-10-03 Alias added: GHSA-96ff-gc8g-wpvg

References

  • TI-2026-53100 CodeWhale before 0.8.64 SSRF Bypass via DNS Pinning TOCTOU CVSS 4.0CRITICAL 9.2
  • TI-2026-53143 CodeWhale before 0.8.64 Environment Variable Leak via js_execution CVSS 4.0HIGH 8.7
  • TI-2026-33165 CodeWhale: task_create Insecure Defaults Enable RCE via Prompt Injection in Project Files CVSS 3.1CRITICAL 9.6
  • TI-2026-33110 CodeWhale: run_tests Tool Enables RCE via Malicious Repository Without Approval CVSS 3.1CRITICAL 9.6
  • TI-2026-53141 CodeWhale before 0.8.64 Argument Injection via git_show CVSS 4.0HIGH 8.5
  • TI-2026-53139 CodeWhale before 0.8.64 Remote Code Execution via allow_shell CVSS 4.0HIGH 8.5
See all 12 →

Sources