llamaCVEVulnerability Intelligence
/
CodeWhale

CVE-2026-75857

CodeWhale before 0.8.64 Privilege Escalation via exec_shell_interact

Specific setups onlySin parche publicadoprivilege escalation
Descargar PNG JSON
CVSS 4.0
7.3
Alta
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 Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición93 dDesde la divulgación, 18 ago 2026, 10:21 a. m.
Detección71 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Parche 0.8.41
Parche 0.8.64
Monitoreo
Detectada +1
Verificada
23 may 26
22 jun 26
18 ago 26
19 ago 26
29 oct 26
18 nov 26
20 nov 26
23 may 26
7 jul 26
21 ago 26
6 oct 26
20 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.8.41 deepseek-tui · -87 d desde divulgación
Remediación Parche 0.8.64 codewhale-tui · -57 d desde divulgación
Divulgación Publicada CVE-2026-75857 divulgada · CVSS 7.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Affects CodeWhale 0.3.10 before 0.8.64 when shell tools are enabled and an approved long-running interactive process, such as a python3 -i REPL or ssh session, is already running. Fixed in 0.8.64.

¿Qué significa?Injected input can run code or commands inside a process that the user already approved, such as a python3 -i REPL, mysql, ssh, or sudo -i session. The injected code runs at that process's privilege level, and no approval prompt is shown for it.
¿Quién está afectado?The advisory covers CodeWhale versions from 0.3.10 up to but not including 0.8.64, published as deepseek-tui, codewhale, or codewhale-tui. The setup it describes is shell tools enabled, which the advisory calls the normal config for using CodeWhale as a coding agent, with an approved interactive process already running in the session. Check the installed version and whether shell tools are enabled in the configuration.
¿Qué hacer?Upgrade CodeWhale to 0.8.64 or later, which is the first version outside the advisory's affected range.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
CodeWhale versions >= 0.3.10 and < 0.8.64 (published as deepseek-tui, codewhale, or codewhale-tui under the ranges given in the advisory)“CodeWhale versions >= 0.3.10 and < 0.8.64”
02
Shell tools are enabled“shell tools are enabled (the normal config for using CodeWhale as a coding agent)”
03
The session already has one approved long-running interactive process, such as a python3 -i REPL, mysql, ssh, or sudo -i session“the session already has one approved long-running interactive process”
¿Quién debe revisar?Teams running CodeWhale agents with shell tools enabled and an approved interactive shell open (python3 -i, mysql, ssh, sudo -i), via codewhale, codewhale-tui or deepseek-tui.
No protegeThe deprecated deepseek-tui crate has no fixed release.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:P
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
deepseek-tui≥ 0.3.10 ≤ 0.8.41
deepseek-tui≥ 0.3.10 < 0.8.41
codewhale-tui · codewhale≥ 0.8.41 < 0.8.64
0.3.10
0.8.41
0.8.47
0.8.64
0.10.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
crates.iodeepseek-tui
Sin parche — — 0.8.41 afectada
npmdeepseek-tui
Corregida 0.8.41 -87 d 0.8.47 no afectada
crates.iocodewhale-tui
Corregida 0.8.64 -57 d 0.10.2 no afectada
npmcodewhale
Corregida 0.8.64 -56 d 0.10.2 no afectada
Versiones corregidas0.8.410.8.64
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/Hmbown/CodeWhale/security/advisories/GHSA-g29h-pfmp-qp9r
Parchehttps://github.com/Hmbown/CodeWhale/commit/57f3c89471e27ac4032d9791f6885e5d4408c381
Otrahttps://www.vulncheck.com/advisories/codewhale-before-privilege-escalation-via-exec-shell-interact

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.