CVE-2026-83817 CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
CodeWhale is a DeepSeek and MiMo coding agent for the terminal. Prior to 0.9.0, DEFAULT_AUTOMATION_AUTO_APPROVE caused AutomationRecord::task_auto_approve to resolve an omitted setting to true, and the automation_create schema advertised the same insecure default. enqueue_run_task converted that omission into an explicit true value, bypassing the safer task-path fallback and selecting ApprovalMode::Bypass for each scheduled run. After a user approved creation of an apparently benign recurring automation, subsequent executions could silently authorize mutating tools without a human present, and an automation created with shell access could repeatedly execute commands. This issue is fixed in version 0.9.0.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io codewhale-tui(crates.io) | < 0.9.0; <= 0.8.67 | 0.9.0 | Fixed |
| npm codewhale(npm) | < 0.9.0; <= 0.8.67 | 0.9.0 | Fixed |
| codewhale-hq CodeWhale | = < 0.9.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| codewhale-hq CodeWhale | = < 0.9.0 | No fix listed |
| crates.io codewhale-tui(crates.io) | <= 0.8.67 | No fix listed |
| npm codewhale(npm) | <= 0.8.67 | No fix listed |
| crates.io codewhale-tui(crates.io) | < 0.9.0 | 0.9.0 |
| npm codewhale(npm) | < 0.9.0 | 0.9.0 |
References
- https://github.com/codewhale-hq/Codewhale/security/advisories/GHSA-8hp3-xxrg-v9c8 vendor-advisory
- https://github.com/codewhale-hq/Codewhale/commit/208421b9d23d81cea3311a1eeb2a2ea81d637686 patch
- https://github.com/codewhale-hq/Codewhale/releases/tag/v0.9.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-126599 third-party-advisory