CVE-2026-83817

CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution

Published Nov 16, 2026 CVSS 3.1 · 7.5 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to CodeWhale version 0.9.0 or newer, which removes the insecure default.
  • In your configuration, explicitly set DEFAULT_AUTOMATION_AUTO_APPROVE to false or delete the setting to prevent automatic approval.
  • Audit all existing automation records, especially those with shell access, and reconfigure them to require explicit human approval for each run.
  • Consider temporarily rejecting any automation that requests mutating actions until the audit is complete, to mitigate potential misuse during remediation.

Generated by OpenCVE AI on November 16, 2026 at 20:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution
Weaknesses CWE-1188
CWE-862
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

  • CWE-862

    Missing Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 16, 2026, 9:21 PM
Reserved
Aug 31, 2026, 11:04 PM
Status
Received
Published
Nov 16, 2026, 7:17 PM
Modified
Nov 16, 2026, 10:18 PM