All vulnerabilities

crates.io · npm

CVE-2026-83817

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

Severity
High 7.5
Published
19 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.9.0
Exploit chance
0.5% in the next 30 daysHigher than 44% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Insecure default (CWE-1188)Missing authorization (CWE-862)
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Also known as
GHSA-8hp3-xxrg-v9c8
Sources
OSV.dev and GitHub

Description

CVE-2026-45374 (GHSA-72w5-pf8h-xfp4) hardened the task path so auto-approval must be opted into explicitly: add_task uses req.auto_approve.unwrap_or(false) (task_manager.rs:868). The automation subsystem was not hardened in kind. AutomationRecord::task_auto_approve() resolves an omitted auto_approve to DEFAULT_AUTOMATION_AUTO_APPROVE = true (automation_manager.rs:29, 101-103), and enqueue_run_task builds the NewTaskRequest with auto_approve: Some(automation.task_auto_approve()) — i.e. an explicit Some(true) (automation_manager.rs:766). Because the field is Some, unwrap_or(false) returns true and the seed-2 default is bypassed. That true propagates to ApprovalMode::Bypass (runtime_threads.rs:2253), where the background approval loop auto-approves every tool call with no human present (runtime_threads.rs:3383-3416). One approved automation_create becomes a durable, recurring, fully auto-approved agent. Same insecure-default class as CVE-2026-45374, on a different, unpatched subsystem.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
codewhale-tuicrates.io · osv:crates.io:codewhale-tui
  • Every version before 0.9.0
codewhalenpm · osv:npm:codewhale
  • Every version before 0.9.0

About codewhale-tui

Downloads in the last 90 days (crates.io)
1,220crates.io, 24 Nov 2026
Total downloads (crates.io)
9,708crates.io, 24 Nov 2026

Vulnerabilities in codewhale-tui

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for codewhale-tui

About codewhale

Weekly downloads (npm)
3,546npm, 24 Nov 2026

Vulnerabilities in codewhale

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for codewhale

References