CVE-2026-83816
CodeWhale remote command execution in shell approval logic
Attackers who sway an agent's tool calls can run any program on a developer's computer with no user action.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 0.9.0 | codewhale-tui · -123 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-83816 divulgada · CVSS 8.1 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
CodeWhale, a terminal coding agent, can be made to run arbitrary programs on the developer's host because its command-approval logic wrongly treated certain search commands with exec flags as read-only and auto-approved them. Attacker-controlled content that influences an agent tool call can reach this remotely, without logging in and without any user action, and the flaw can lead to unauthorized access, modification, or disruption.
CodeWhale 0.8.67 and earlier are affected in the default interactive Agent profile. Fixed in 0.9.0.
Descripción original del registro (GitHub_M)
CodeWhale is a DeepSeek and MiMo coding agent for the terminal. Prior to 0.9.0, the ExecShellTool::approval_requirement_for path used is_parallel_readonly_command to downgrade commands to automatic approval based on a flag-stripped command allowlist. The allowlist treated fd, rg, and git grep as read-only even when fd -x or fd --exec, rg --pre, or git grep --open-files-in-pager selected an external program. registered_tool_approval_required returned without displaying a prompt for that automatic classification, and the later command-safety check also treated the base utilities as safe. Attacker-controlled content that influenced an agent tool call could therefore cause arbitrary program execution on the developer host without the approval promised by the default interactive profile, resulting in unauthorized access, modification, or disruption. This issue is fixed in version 0.9.0.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.iocodewhale-tui |
Corregida | 0.9.0 | -123 d | 0.10.2 no afectada |
npmcodewhale |
Corregida | 0.9.0 | -123 d | 0.10.2 no afectada |
0.9.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/codewhale-hq/Codewhale/security/advisories/GHSA-3mgh-93r5-r7jfhttps://github.com/codewhale-hq/Codewhale/commit/208421b9d23d81cea3311a1eeb2a2ea81d637686https://github.com/codewhale-hq/Codewhale/releases/tag/v0.9.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
