- Home
- Vulnerabilities
- CVE-2026-83816
CVE-2026-83816
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
Summary
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.
Affected products and versions
codewhale-hq (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| CodeWhale | Versions not specified | — | CNA (vendor or assigner) |
crates.io (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| codewhale-tui | before 0.9.0 (excluded) |
0.9.0 |
GitHub Advisory |
npm (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| codewhale | before 0.9.0 (excluded) |
0.9.0 |
GitHub Advisory |
Fix
Upgrade — crates.io/codewhale-tui 0.9.0; npm/codewhale 0.9.0official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-3mgh-93r5-r7jf — CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE 19 Nov 2026
References
- https://github.com/codewhale-hq/Codewhale/security/advisories/GHSA-3mgh-93r5-r7jfx_refsource_CONFIRM
- https://github.com/codewhale-hq/Codewhale/commit/208421b9d23d81cea3311a1eeb2a2ea81d637686x_refsource_MISC
- https://github.com/codewhale-hq/Codewhale/releases/tag/v0.9.0x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-83816ADVISORY
- https://github.com/codewhale-hq/CodewhalePACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-78 · Injection de commandes / code