crates.io · npm
CVE-2026-83816
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- Severity
- High 8.1
- Published
- 19 Nov 2026
- Last changed
- 19 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.9.0
- Exploit chance
- 0.6% in the next 30 daysHigher than 49% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Also known as
- GHSA-3mgh-93r5-r7jf
- Sources
- OSV.dev and GitHub
Description
The interactive Agent profile of DeepSeek-TUI (CodeWhale) is explicitly documented to gate every shell command behind an approval prompt (config.rs:3725-3736). However, ExecShellTool::approval_requirement_for(&tool_input) downgrades the requirement from Required to Auto for any command the classifier deems "parallel read-only" (shell.rs:2314-2320). registered_tool_approval_required returns false for Auto before the auto_approve check runs (turn_loop.rs:37-38), so no prompt is shown even for a user who never enabled YOLO. The classifier is_parallel_readonly_command (command_safety.rs:389) rejects only shell metacharacters and then matches the flag-stripped base command name against an allowlist that includes fd, rg, and git grep. Those tools execute arbitrary external programs through documented flags (fd -x/--exec, rg --pre, git grep --open-files-in-pager) that need no shell metacharacters — yielding silent arbitrary-program execution in the default profile.
Affected software
| Software | Affected versions |
|---|---|
codewhale-tuicrates.io · osv:crates.io:codewhale-tui |
|
codewhalenpm · osv:npm:codewhale |
|
About codewhale-tui
- Downloads in the last 90 days (crates.io)
- 1,220crates.io, 24 Nov 2026
- Total downloads (crates.io)
- 9,708crates.io, 24 Nov 2026
Vulnerabilities in codewhale-tui
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-83817CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent executionHigh 7.5 19 Nov 2026
About codewhale
- Weekly downloads (npm)
- 3,546npm, 24 Nov 2026
Vulnerabilities in codewhale
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-83817CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent executionHigh 7.5 19 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-83816
- GitHub Advisory Database https://github.com/advisories/GHSA-3mgh-93r5-r7jf