# CVE-2026-83816: CodeWhale: exec\_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.64% (percentile 45, 2026-11-28)
- **CWE:** CWE-78, CWE-863
- **Aliases:** GHSA-3mgh-93r5-r7jf
- **Published:** 2026-11-16T18:55:40.450Z
- **Modified:** 2026-11-19T22:48:14.000Z

## 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

## 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

- crates.io `codewhale-tui`: affected \<= 0.8.67; fixed 0.9.0 (ghsa)
- npm `codewhale`: affected \<= 0.8.67; fixed 0.9.0 (ghsa)
- codewhale-hq CodeWhale: \< 0.9.0 (cvelist)

## Technologies

npm packages, Rust crates

## Mitigation

- Upgrade codewhale-tui to 0.9.0 or later.
- Upgrade codewhale to 0.9.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- vendor: <https://github.com/codewhale-hq/Codewhale/security/advisories/GHSA-3mgh-93r5-r7jf>
- patch: <https://github.com/codewhale-hq/Codewhale/commit/208421b9d23d81cea3311a1eeb2a2ea81d637686>
- other: <https://github.com/codewhale-hq/Codewhale/releases/tag/v0.9.0>
- other: <https://nvd.nist.gov/vuln/detail/CVE-2026-83816>
- other: <https://github.com/advisories/GHSA-3mgh-93r5-r7jf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-83816>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-3mgh-93r5-r7jf> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-83816> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-83816>
