CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution
CVE-2026-83817 · GHSA-8hp3-xxrg-v9c8 · published 2026-11-19
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- 0.55%
- Fixed in
- 0.9.0
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
A single approved automation_create yields a durable, recurring, fully auto-approved agent. Every scheduled fire silently authorizes mutating tools (file writes, apply_patch, git, MCP writes) with no prompt; combined with allow_shell:true in the create call, recurring silent RCE with no human present. Even without allow_shell, every recurring run silently authorizes all non-shell mutating tools. Same class as seed CVE-2026-45374.
Upgrade codewhale to 0.9.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
The CodeWhale maintainers validated this report. CodeWhale 0.8.67 and earlier are affected. Version 0.9.0 contains the fix in commit 208421b9d23d81cea3311a1eeb2a2ea81d637686. Users should upgrade to 0.9.0 or later. The original reporter analysis is preserved below. Set DEFAULT_AUTOMATION_AUTO_APPROVE = false (mirror the seed-2 task-path fix) and change the automation_create schema default to false, so durable automations require explicit opt-in to auto-approval just like the task path. Reported by zx (Jace)
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| codewhale | npm | <= 0.8.67 | 0.9.0 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalJupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fixjupyter-mcp-server
- CriticalUnauthenticated Superuser Token Issuance via Default-Enabled auto_login Endpointlangflow
- CriticalCodeWhale: SSRF bypass - TOCTOU on DNS failure for DNS pinningcodewhale
- HighCodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCEcodewhale
- HighCodeWhale: Project config `instructions` override enables arbitrary file read into AI system prompt via cloned repositorycodewhale
- HighCodeWhale: Argument Injection in `git_show` Tool Allows Arbitrary File Write Without Approvalcodewhale
- HighCodeWhale: Argument Injection in `git_blame` Tool Allows Arbitrary File Read Without Approvalcodewhale
- HighCodeWhale: exec_shell_interact sends LLM-controlled input to a running shell without an approval prompt (privilege escalation)codewhale
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.