Skip to content
Threat Feed
high advisory PoC updated

CodeWhale: Insecure automation approval default (CVE-2026-83817)

CodeWhale versions prior to 0.9.0 are vulnerable to an authentication bypass where an insecure default configuration allows recurring automation tasks to execute with elevated privileges without human approval, potentially leading to arbitrary command execution.

CVE search metadata

CVE search record: CVE-2026-83817. Severity: high. CVSS: 7.5. EPSS: 0.69%. KEV: no. Product: CodeWhale. Brief: CodeWhale: Insecure automation approval default (CVE-2026-83817). Brief link: https://feed.craftedsignal.io/briefs/2026-11-codewhale-bypass-cve-2026-83817/

Triage facts

Revision 2
Applicability
CodeWhale
Evidence
Unknown
Severity
High
Action
Immediate escalation
Sources
3 public sources
Freshness
Revision 2Nov 20, 02:06 UTC
Vulnerabilities
1 CVE
Source quality
A1
Revision history 1 entry · Revision 2
  1. Revision 2

    poc_available

    Changed: cve_verification, cves, has_poc, lastmod, references, updates

    Sources: 1

Overview

CodeWhale, a terminal-based coding agent, contains a vulnerability in its task automation logic (CVE-2026-83817). In affected versions, the setting DEFAULT_AUTOMATION_AUTO_APPROVE resolves to 'true' if left omitted, and the automation creation schema advertises this insecure default. The function enqueue_run_task converts this omission into an explicit bypass, causing the system to select ApprovalMode::Bypass for scheduled tasks. This allows recurring tasks, once initially approved, to authorize mutating tools and execute shell commands without further human interaction.

Impact

An attacker who convinces a user to approve an initial, seemingly benign recurring automation can subsequently execute unauthorized shell commands and perform mutations on the system without further human intervention or oversight.

Recommendation

  • Update CodeWhale to version 0.9.0 or later immediately to remediate the insecure default behavior.
  • Audit existing recurring automation tasks for unexpected or unauthorized permissions and shell access capabilities.

Threat Hunt

Identify recurring automation configurations in CodeWhale logs or configuration files that have task_auto_approve set to true or that leverage ApprovalMode::Bypass.

T1059.003 high high confidence hunt now

Data: CodeWhale configuration files, CodeWhale automation activity logs

Mitigations

Upgrade CodeWhale to version 0.9.0 or later

immediate