CodeWhale before 0.8.64 Privilege Escalation via exec_shell_interact
Published Aug 18, 2026
7.3
HIGHCVSS 4.0
EPSS 0.15%
Description
CodeWhale versions >= 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 0.8.64.
Affected products
-
- Version 0.3.10StatusaffectedConstraints<0.8.41
- Version 0.8.41StatusaffectedConstraints<0.8.64
- Version 0.8.41StatusunaffectedConstraints-
- Version 0.8.64StatusunaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
codewhale-tui
crates.io
Introduced 0.8.41 Fixed 0.8.64codewhale
npm
Introduced 0.8.41 Fixed 0.8.64deepseek-tui
crates.io
Introduced 0.3.10 Fixed not fixeddeepseek-tui
npm
Introduced 0.3.10 Fixed 0.8.41
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| crates.io | codewhale-tui | 0.8.41 | 0.8.64 |
| npm | codewhale | 0.8.41 | 0.8.64 |
| crates.io | deepseek-tui | 0.3.10 | not fixed |
| npm | deepseek-tui | 0.3.10 | 0.8.41 |
Remediation
No remediation recorded yet.
Metrics
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
1 other source (NVD) ▾
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Aug 19, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Aug–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.15% (0.00155) | 3.93th | v5 (v2026.06.15) |
| Aug 19, 2026 | 0.12% (0.00121) | 2.27th | v5 (v2026.06.15) |
References (5)
- https://github.com/Hmbown/CodeWhale/commit/57f3c89471e27ac4032d9791f6885e5d4408c381 patch
- https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-g29h-pfmp-qp9r exploitvendor-advisory
- https://github.com/advisories/GHSA-g29h-pfmp-qp9r Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-75857
- https://www.vulncheck.com/advisories/codewhale-before-privilege-escalation-via-exec-shell-interact third-party-advisory
Change history (0)
No recorded changes yet.