CVE-2026-75857
CodeWhale before 0.8.64 Privilege Escalation via exec_shell_interact
Also known as GHSA-g29h-pfmp-qp9r
Mitigation
- Upgrade deepseek-tui to 0.8.41 or later.
- Upgrade codewhale-tui to 0.8.64 or later.
- Upgrade codewhale to 0.8.64 or later.
Who should check
- Projects that depend on crates.io package deepseek-tui (>= 0.3.10, <= 0.8.41)
- Projects that depend on npm package deepseek-tui (>= 0.3.10, < 0.8.41)
- Projects that depend on crates.io package codewhale-tui (>= 0.8.41, < 0.8.64)
- Projects that depend on npm package codewhale (>= 0.8.41, < 0.8.64)
- Anyone running Hmbown CodeWhale >= 0.3.10, <= 0.8.41
- Anyone running Hmbown CodeWhale >= 0.3.10, < 0.8.41
- Anyone running Hmbown CodeWhale >= 0.8.41, < 0.8.64
Vulnerability facts
- Affected
- deepseek-tui >= 0.3.10, <= 0.8.41; deepseek-tui >= 0.3.10, < 0.8.41; codewhale-tui >= 0.8.41, < 0.8.64; codewhale >= 0.8.41, < 0.8.64
- Fixed in
- 0.8.41, 0.8.64
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.3 (v4.0, CNA)CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Attack requirements: Present
- Privileges required: None
- User interaction: Passive
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.15% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- CWE
- CWE-269
- Modified
Description
CodeWhale versions >= 0.3.10 and < 0.8.64 (published as deepseek-tui >= 0.3.10 and < 0.8.41 on npm and 0.3.10 through 0.8.41 on crates.io, and as codewhale / codewhale-tui >= 0.8.41 and < 0.8.64) contain a vulnerability in the exec_shell_interact (alias exec_interact) tool, whose approval_requirement returns ApprovalRequirement::Auto. This overrides the default Required approval for code-executing tools, so LLM-controlled stdin is written into an already-approved long-running interactive shell (e.g., a python3 -i REPL, mysql, ssh, or sudo -i session) without any approval prompt. An attacker who can inject instructions via untrusted content the agent ingests (a fetched page, MCP result, or repo file) can cause commands to run at the privilege level of that approved process. Fixed in codewhale / codewhale-tui 0.8.64; the deprecated deepseek-tui crate has no fixed release.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io deepseek-tui | >= 0.3.10, <= 0.8.41 | — | osv |
| npm deepseek-tui | >= 0.3.10, < 0.8.41 | 0.8.41 | osv |
| crates.io codewhale-tui | >= 0.8.41, < 0.8.64 | 0.8.64 | osv |
| npm codewhale | >= 0.8.41, < 0.8.64 | 0.8.64 | osv |
| Hmbown CodeWhale | >= 0.3.10, <= 0.8.41 | — | cvelist |
| Hmbown CodeWhale | >= 0.3.10, < 0.8.41 | — | cvelist |
| Hmbown CodeWhale | >= 0.8.41, < 0.8.64 | — | cvelist |
| Hmbown CodeWhale | >= 0.8.41, < 0.8.64 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-75857. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-75857.md Affected: deepseek-tui >= 0.3.10, <= 0.8.41; deepseek-tui >= 0.3.10, < 0.8.41; codewhale-tui >= 0.8.41, < 0.8.64; codewhale >= 0.8.41, < 0.8.64 Fixed in: 0.8.41, 0.8.64 Steps: 1. Search this machine and project for deepseek-tui (crates.io), deepseek-tui (npm), codewhale-tui (crates.io), codewhale (npm), Hmbown CodeWhale: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-75857 being exploited?
There is no confirmed exploitation: CVE-2026-75857 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-75857?
High: CVSS 7.3 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-75857?
deepseek-tui >= 0.3.10, <= 0.8.41; deepseek-tui >= 0.3.10, < 0.8.41; codewhale-tui >= 0.8.41, < 0.8.64; codewhale >= 0.8.41, < 0.8.64.
Is there a fix for CVE-2026-75857?
Yes. Fixed in 0.8.41, 0.8.64. Upgrade deepseek-tui to 0.8.41 or later. Upgrade codewhale-tui to 0.8.64 or later. Upgrade codewhale to 0.8.64 or later.
How do I check if I'm affected by CVE-2026-75857?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.