CVE-2026-83817: CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution
CodeWhale is a DeepSeek and MiMo coding agent for the terminal. Prior to 0.9.0, DEFAULTAUTOMATIONAUTOAPPROVE caused AutomationRecord::taskautoapprove to resolve an omitted setting to true, and the automationcreate schema advertised the same insecure default. enqueueruntask 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
CodeWhaleto a version that resolves this vulnerability.Fixed in 0.9.0
Event History
Frequently Asked Questions
Which deployments are exposed to silent recurring tool execution?
CodeWhale versions prior to 0.9.0 are affected when a recurring automation is created without an explicit auto-approval setting. The omitted setting resolves to enabled, so later scheduled runs can authorize mutating tools without a human present.
What attacker or user interaction is required for exploitation?
A user must approve creation of a recurring automation that appears benign. After that initial approval, subsequent executions can run silently; an automation with shell access can repeatedly execute commands.
Is the default configuration affected?
Yes. Before 0.9.0, the automation auto-approve setting defaulted to true when omitted, and the creation schema advertised that insecure default.
What should teams do to remediate the issue?
Upgrade CodeWhale to version 0.9.0. If immediate patching is not possible, avoid approving recurring automations with omitted auto-approval settings, particularly automations granted shell access.