CVE-2026-45311Hmbown CodeWhale
Critical 9.6 No auth needed
Follow: this CVE · Hmbown · Hmbown CodeWhale We alert you by email or Slack (account required).
- Priority
- 73
- CVSS 3.1
- 9.6
- EPSS
- —
- Auth required
- No
- Published
- May 28, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
What happens
CodeWhale is a DeepSeek + MiMo coding agent in terminal. From 0.3.0 to 0.8.23, the run_tests tool executes cargo test in the workspace with ApprovalRequirement::Auto, meaning it runs without any user approval prompt. cargo test compiles and executes arbitrary code: test binaries, build.rs build scripts, and proc macros. While auto-approving test execution is a deliberate design choice, it creates an inconsistency in the security boundary. However, in a malicious repository, test code can execute arbitrary shell commands, exfiltrate credentials, or establish persistence with zero approval. The attack is amplified by AGENTS.md (auto-loaded into the system prompt), which can instruct the model to run tests proactively at session start. This vulnerability is fixed in 0.8.23.
What to do
- Apply the vendor's security update for CodeWhale.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | deepseek-tui |
≥ 0.3.0 < 0.8.23 |
0.8.23 |
cargo update -p deepseek-tui --precise 0.8.23 |
| crates.io | deepseek-tui-cli |
≥ 0.3.0 < 0.8.23 |
0.8.23 |
cargo update -p deepseek-tui-cli --precise 0.8.23 |
| npm | deepseek-tui |
≥ 0.3.0 < 0.8.23 |
0.8.23 |
npm install deepseek-tui@0.8.23 |
Per OSV / GitHub Advisories (GHSA-wx44-2q6h-j6p8). Check the version in your lockfile before upgrading.
Affected products
- Hmbown · CodeWhale
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.