CodeWhale: rlm_eval auto-approves arbitrary Python execution, bypassing the user's approval policy (RCE)
CVE-2026-75858 · GHSA-wrj3-vj8c-784f · published 2026-09-04
- Severity
- High
- CVSS score
- 7.8
- Chance of exploitation (EPSS)
- 0.43%
- Fixed in
- 0.8.64
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
Unsandboxed code execution on the user's workstation at the user's UID: read SSH keys, cloud credentials, ~/.codewhale/auth.json, and other secrets; write to shell rc files or authorized_keys for persistence; spawn subprocesses; reach the network. No filesystem, network, or process sandbox is applied to the spawned interpreter. Reachable with user interaction (running the agent over attacker-influenced content), no further prompt.
Upgrade codewhale to 0.8.64 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. The affected package ranges are recorded in the advisory metadata. Version 0.8.64 contains the fix in commit 57f3c89471e27ac4032d9791f6885e5d4408c381. Users should upgrade to 0.8.64 or later. The original reporter analysis is preserved below.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| codewhale | npm | >= 0.8.41, < 0.8.64 | 0.8.64 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- Criticalmcp-server-git runs a repo's gpg.program via git_merge and git_branchmcp-server-git
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- 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: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent executioncodewhale
- 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
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.