# CVE-2026-75857: CodeWhale before 0.8.64 Privilege Escalation via exec_shell_interact

- Severity: High 7.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-18T15:21:56.357Z
- Modified: 2026-10-29T21:17:33.107Z
- Also known as: GHSA-g29h-pfmp-qp9r
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- Hmbown CodeWhale: from 0.3.10 up to 0.8.41; from 0.3.10 before 0.8.41; from 0.8.41 before 0.8.64 (not affected: 0.8.41; 0.8.64)
- deepseek-tui (crates.io): from 0.3.10 up to 0.8.41
- deepseek-tui (npm): from 0.3.10 before 0.8.41
- codewhale-tui (crates.io): from 0.8.41 before 0.8.64
- codewhale (npm): from 0.8.41 before 0.8.64

## Every score

- VulnCheck: CVSS:4.0 7.3 High `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`
- VulnCheck: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`

## References

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

## Sources

- CVE List: [CVE-2026-75857](https://www.cve.org/CVERecord?id=CVE-2026-75857), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-g29h-pfmp-qp9r](https://github.com/advisories/GHSA-g29h-pfmp-qp9r), CC-BY-4.0, modified 2026-09-04
- NVD: [CVE-2026-75857](https://nvd.nist.gov/vuln/detail/CVE-2026-75857), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-75857 · Whole record: https://cve.day/CVE-2026-75857.json · Rebuilt by cve.day 2026-11-25T22:59:33.511Z
