p PatchFirst

CVE-2026-45310

CVE-2026-45310 · CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.4 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • codewhale

    Versions
    • < 0.8.22: Affected

    No fix published

  • deepseek-tui crates.io

    Affected ranges
    • SEMVER: < 0.8.22

    Update to 0.8.22

  • deepseek-tui-cli crates.io

    Affected ranges
    • SEMVER: < 0.8.22

    Update to 0.8.22

  • deepseek-tui npm

    Affected ranges
    • SEMVER: < 0.8.22

    Update to 0.8.22

Original sources

Check your server →