CodeWhale: Project config `instructions` override enables arbitrary file read into AI system prompt via cloned repository
CVE-2026-75859 · GHSA-62f5-cp2p-vq95 · published 2026-09-04
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- 0.41%
- Fixed in
- 0.8.64
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
This is a high-severity confidentiality vulnerability. Any user who clones a repository containing a malicious .codewhale/config.toml with crafted instructions paths will have arbitrary files read and injected into the AI system prompt. Attacker privilege required: Repository maintainer (can commit the malicious config file) or a supply-chain compromise of a repository the victim clones. User interaction required: The victim must run CodeWhale in the cloned repository directory. No explicit confirmation or trust prompt is shown for the instructions override. …
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 43563356b98c6b993085554da82e77370160a31c. Users should upgrade to 0.8.64 or later. The original reporter analysis is preserved below. 1. Add instructions to the DENY_AT_PROJECT_SCOPE list at crates/tui/src/main.rs:5119: 2. 3.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| codewhale | npm | >= 0.8.41, < 0.8.64 | 0.8.64 |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- CriticalVibe-Trading FastAPI endpoints permit unauthenticated access, file upload, and an RCE chainvibe-trading-ai
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
- 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: 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.