CodeWhale: Argument Injection in `git_blame` Tool Allows Arbitrary File Read Without Approval
CVE-2026-75912 · GHSA-c6mw-8xh8-gpq6 · published 2026-09-04
- Severity
- High
- CVSS score
- 7.4
- Chance of exploitation (EPSS)
- 0.41%
- Fixed in
- 0.8.64
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Arbitrary file read at the privilege of the user running DeepSeek-TUI, via malicious repository content combined with prompt injection (the threat model already documented in CVE-2026-45311). Reachable as the invoking user: ~/.ssh/id_rsa, ~/.ssh/id_ed25519, and other private keys ~/.aws/credentials, ~/.config/gh/hosts.yml, ~/.netrc .env files anywhere in the filesystem Any project file outside the workspace the tool would normally restrict to The leaked contents land in the model's context. …
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 9a34b5034d29f05d1f28fa61b04719ca6a741020. Users should upgrade to 0.8.64 or later. The original reporter analysis is preserved below. Plus a leading-hyphen rejection on rev. A regression test should pin both rev = "--contents=/etc/passwd" and rev = "--ignore-revs-file=/etc/passwd" as rejected inputs.
| 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: 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.