# CVE-2026-75857: CodeWhale before 0.8.64 Privilege Escalation via exec\_shell\_interact

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-269
- **Aliases:** GHSA-g29h-pfmp-qp9r
- **Published:** 2026-08-18T15:21:56.357Z
- **Modified:** 2026-10-29T21:17:33.107Z

## 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

## 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

- crates.io `deepseek-tui`: affected \>= 0.3.10, \<= 0.8.41; fixed no fix listed yet (osv)
- npm `deepseek-tui`: affected \>= 0.3.10, \< 0.8.41; fixed 0.8.41 (osv)
- crates.io `codewhale-tui`: affected \>= 0.8.41, \< 0.8.64; fixed 0.8.64 (osv)
- npm `codewhale`: affected \>= 0.8.41, \< 0.8.64; fixed 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)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-g29h-pfmp-qp9r>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-75857>
- patch: <https://github.com/Hmbown/CodeWhale/commit/57f3c89471e27ac4032d9791f6885e5d4408c381>
- other: <https://www.vulncheck.com/advisories/codewhale-before-privilege-escalation-via-exec-shell-interact>
- other: <https://github.com/Hmbown/CodeWhale>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-75857>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-g29h-pfmp-qp9r> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-75857> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-75857>
