Technical impact
The vulnerability in CodeWhale arises from the AUTOMATION_AUTO_APPROVE setting, which when left unspecified resolves to true (CWE‑1188). This causes AutomationRecord::task_auto_approve to implicitly grant approval for any scheduled automation, bypassing the safer task‑path fallback and selecting ApprovalMode::Bypass (CWE‑862). As a result, once a user authorizes a seemingly benign recurring automation, subsequent executions can silently enable mutating tools, including those with shell access, allowing an attacker to execute arbitrary commands without further human intervention.
Affected Systems
All installations of CodeWhale older than version 0.9.0 are affected. The vulnerability applies to the core CodeWhale product provided by codewhale-hq:CodeWhale. No later versions, from 0.9.0 onward, are vulnerable due to the fix applied in that release.
Risk and Exploitability
The CVSS score of 7.5 indicates a high severity of this flaw. The EPSS score is not available, but the lack of listing in CISA's KEV catalog suggests no known exploits yet. Based on the description, it is inferred that attackers would need the ability to create or modify automation records, which typically requires authenticated privileges. Once set, the vulnerable default allows those automations to run silently, enabling arbitrary command execution on the agent host and granting full system control if the automation includes privileged operations.