CodeWhale automation auto-approves tools by default
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-862.
Summary
CodeWhale before 0.9.0, a DeepSeek and MiMo coding agent for the terminal, is affected. An omitted automation auto-approve setting resolves to true, so scheduled runs use a bypass approval mode without a human present (CWE-1188). After a user approves a seemingly benign recurring automation, later runs can silently authorize mutating tools, including repeated shell commands.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| codewhale-hq | CodeWhale | before 0.9.0 | 0.9.0 | Patch available | CNA |
- CodeWhale Vendorcodewhale-hq Affected before 0.9.0 Fixed in 0.9.0 Patch available CNA
Remediation
Upgrade CodeWhale to version 0.9.0, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA CodeWhale (codewhale-hq) Fixed in 0.9.0
Timeline
- 2026-11-16 Threatist record created from CVE-2026-83817
- 2026-11-16 CISA SSVC decision points changed
References
More codewhale-hq vulnerabilities
- TI-2026-92267 Approval bypass in CodeWhale exec_shell enables silent command execution CVSS 3.1HIGH 8.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences