CVE-2026-83816
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
Also known as GHSA-3mgh-93r5-r7jf
Mitigation
- Upgrade codewhale-tui to 0.9.0 or later.
- Upgrade codewhale to 0.9.0 or later.
Who should check
- Projects that depend on crates.io package codewhale-tui (<= 0.8.67)
- Projects that depend on npm package codewhale (<= 0.8.67)
- Anyone running codewhale-hq CodeWhale < 0.9.0
Vulnerability facts
- Affected
- codewhale-tui <= 0.8.67; codewhale <= 0.8.67
- Fixed in
- 0.9.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.64% chance of exploitation in 30 days (percentile 45, 2026-11-26)
- CWE
- CWE-78, CWE-863
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io codewhale-tui | <= 0.8.67 | 0.9.0 | ghsa |
| npm codewhale | <= 0.8.67 | 0.9.0 | ghsa |
| codewhale-hq CodeWhale | < 0.9.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-83816. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-83816.md Affected: codewhale-tui <= 0.8.67; codewhale <= 0.8.67 Fixed in: 0.9.0 Steps: 1. Search this machine and project for codewhale-tui (crates.io), codewhale (npm), codewhale-hq CodeWhale: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-83816 being exploited?
There is no confirmed exploitation: CVE-2026-83816 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-83816?
High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-83816?
codewhale-tui <= 0.8.67; codewhale <= 0.8.67.
Is there a fix for CVE-2026-83816?
Yes. Fixed in 0.9.0. Upgrade codewhale-tui to 0.9.0 or later. Upgrade codewhale to 0.9.0 or later.
How do I check if I'm affected by CVE-2026-83816?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More codewhale-tui vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.5 | CVE-2026-83817 CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution | npm packages+1 | EPSS 43% |