{"id":"CVE-2026-75913","state":"PUBLISHED","title":"CodeWhale before 0.8.64 Argument Injection via git_show","description":"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.","publishedAt":"2026-08-18T15:22:01.505Z","updatedAt":"2026-10-29T21:16:54.792Z","severity":{"score":8.5,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H","source":"VulnCheck"},"assigner":"VulnCheck","products":["Hmbown CodeWhale"],"affected":[{"vendor":"Hmbown","product":"CodeWhale","packageURL":"pkg:cargo/deepseek-tui","defaultStatus":"unaffected","versions":[{"version":"0.3.27","status":"affected","lessThanOrEqual":"0.8.41","versionType":"semver"}]},{"vendor":"Hmbown","product":"CodeWhale","packageURL":"pkg:npm/deepseek-tui","defaultStatus":"unaffected","versions":[{"version":"0.3.27","status":"affected","lessThan":"0.8.41","versionType":"semver"},{"version":"0.8.41","status":"unaffected","versionType":"semver"}]},{"vendor":"Hmbown","product":"CodeWhale","packageURL":"pkg:cargo/codewhale-tui","defaultStatus":"unaffected","versions":[{"version":"0.8.41","status":"affected","lessThan":"0.8.64","versionType":"semver"},{"version":"0.8.64","status":"unaffected","versionType":"semver"}]},{"vendor":"Hmbown","product":"CodeWhale","packageURL":"pkg:npm/codewhale","defaultStatus":"unaffected","versions":[{"version":"0.8.41","status":"affected","lessThan":"0.8.64","versionType":"semver"},{"version":"0.8.64","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27","https://github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020","https://www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show"],"weaknesses":["CWE-73"],"ingestedAt":"2026-10-29T23:12:04.845Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/75xxx/CVE-2026-75913.json","commit":"dc7676b3f67d6707e4927968546e7e0125ff7ec7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-75913","state":"PUBLISHED","datePublished":"2026-08-18T15:22:01.505Z","dateUpdated":"2026-10-29T21:16:54.792Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-18T15:05:54.225Z"},"containers":{"cna":{"title":"CodeWhale before 0.8.64 Argument Injection via git_show","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Hmbown","product":"CodeWhale","packageURL":"pkg:cargo/deepseek-tui","defaultStatus":"unaffected","versions":[{"version":"0.3.27","status":"affected","lessThanOrEqual":"0.8.41","versionType":"semver"}]},{"vendor":"Hmbown","product":"CodeWhale","packageURL":"pkg:npm/deepseek-tui","defaultStatus":"unaffected","versions":[{"version":"0.3.27","status":"affected","lessThan":"0.8.41","versionType":"semver"},{"version":"0.8.41","status":"unaffected","versionType":"semver"}]},{"vendor":"Hmbown","product":"CodeWhale","packageURL":"pkg:cargo/codewhale-tui","defaultStatus":"unaffected","versions":[{"version":"0.8.41","status":"affected","lessThan":"0.8.64","versionType":"semver"},{"version":"0.8.64","status":"unaffected","versionType":"semver"}]},{"vendor":"Hmbown","product":"CodeWhale","packageURL":"pkg:npm/codewhale","defaultStatus":"unaffected","versions":[{"version":"0.8.41","status":"affected","lessThan":"0.8.64","versionType":"semver"},{"version":"0.8.64","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-7j5w-7r7x-9v27)"},{"url":"https://github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020","tags":["patch"],"name":"Patch Commit"},{"url":"https://www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show","name":"VulnCheck Advisory: CodeWhale before 0.8.64 Argument Injection via git_show","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.3,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-73","lang":"en","description":"External Control of File Name or Path","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-29T21:16:54.792Z"},"datePublic":"2026-07-16T00:00:00.000Z","credits":[{"lang":"en","value":"0xEr3n","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T15:51:27.540520Z","id":"CVE-2026-75913","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-18T15:56:59.766Z"}}]}}}