CodeWhale: image_analyze follows workspace symlinks, leaking external file bytes
CVE-2026-75914 · GHSA-w7wx-5q49-r59w · published 2026-09-04
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- 0.42%
- Fixed in
- 0.8.64
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
A workspace symlink whose name ends in .png, .jpg, .jpeg, .gif, .webp, or .bmp and whose target sits outside the workspace becomes a read primitive that the model can invoke without an approval prompt. The file bytes are base64-encoded into the image_url.url field of the chat-completion payload and POSTed to the configured vision endpoint along with the user's bearer token. …
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 26de44a8bd5051f8f944ea60b2c37ae1d2b7d25e. 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 |
- 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: 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.