{"id":"CVE-2026-75913","published":"2026-08-18T15:22:01Z","modified":"2026-10-29T21:16:54Z","title":"CodeWhale before 0.8.64 Argument Injection via git_show","vendor":"Hmbown","product":"CodeWhale","tier":"tail","description":{"text":"CodeWhale versions >= 0.3.27 and < 0.8.64 (published as deepseek-tui >= 0.3.27 and < 0.8.41 on npm and 0.3.27 through 0.8.41 on crates.io, and as codewhale / codewhale-tui >= 0.8.41 and < 0.8.64) contain an argument injection vulnerability in the git_show tool. The model-supplied rev parameter is passed unvalidated into the git show argv without an --end-of-options sentinel, so a value beginning with --output= is interpreted as a git flag. Because the tool is registered as auto-approved and advertised as read-only, an attacker (via a malicious repository combined with prompt injection) can cause an unprompted arbitrary file write at the privilege of the invoking user, targeting sensitive files such as ~/.ssh/authorized_keys, ~/.bashrc, or ~/.gitconfig. Fixed in codewhale / codewhale-tui 0.8.64 by adding rev validation; the deprecated deepseek-tui crate has no fixed release.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00477,"percentile":0.42133,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27","tags":["vendor-advisory"]},{"url":"https://github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show","tags":["third-party-advisory"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":8.43},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"hmbown","affectedVersions":[{"vendor":"Hmbown","product":"CodeWhale","versions":[">= 0.3.27, <= 0.8.41"]},{"vendor":"Hmbown","product":"CodeWhale","versions":[">= 0.3.27, < 0.8.41"]},{"vendor":"Hmbown","product":"CodeWhale","versions":[">= 0.8.41, < 0.8.64"]},{"vendor":"Hmbown","product":"CodeWhale","versions":[">= 0.8.41, < 0.8.64"]}],"fixedVersions":[{"vendor":"Hmbown","product":"CodeWhale","versions":["0.8.41"]},{"vendor":"Hmbown","product":"CodeWhale","versions":["0.8.64"]},{"vendor":"Hmbown","product":"CodeWhale","versions":["0.8.64"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-18T15:51:27.540520Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"deepseek-tui","vulnerableRanges":[">=0.3.27, <=0.8.41"],"patched":[],"from":["GHSA-7j5w-7r7x-9v27"],"provenance":"source"},{"ecosystem":"npm","package":"deepseek-tui","vulnerableRanges":[">=0.3.27, <0.8.41"],"patched":["0.8.41"],"from":["GHSA-7j5w-7r7x-9v27"],"provenance":"source"},{"ecosystem":"crates.io","package":"codewhale-tui","vulnerableRanges":[">=0.8.41, <0.8.64"],"patched":["0.8.64"],"from":["GHSA-7j5w-7r7x-9v27"],"provenance":"source"},{"ecosystem":"npm","package":"codewhale","vulnerableRanges":[">=0.8.41, <0.8.64"],"patched":["0.8.64"],"from":["GHSA-7j5w-7r7x-9v27"],"provenance":"source"}],"summary":{"text":"CodeWhale (codewhale and codewhale-tui, by Hmbown) has an argument injection flaw in its git_show tool, where the model-supplied rev parameter is passed unvalidated into the git show command, so a value beginning with --output= is treated as a git flag. An attacker can exploit this through a malicious repository combined with prompt injection, without authentication and with no user approval because the tool runs auto-approved, to write arbitrary files as the invoking user, such as ~/.ssh/authorized_keys, ~/.bashrc, or ~/.gitconfig.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:56Z"},"euvd":{"id":"EUVD-2026-60971","exploited":false,"provenance":"source"}}