{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-75913","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-08-18T15:05:54.225Z","datePublished":"2026-08-18T15:22:01.505Z","dateUpdated":"2026-10-29T21:16:54.792Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-10-29T21:16:54.792Z"},"datePublic":"2026-07-16T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"External Control of File Name or Path","cweId":"CWE-73","type":"CWE"}]}],"affected":[{"vendor":"Hmbown","product":"CodeWhale","defaultStatus":"unaffected","packageURL":"pkg:cargo/deepseek-tui","versions":[{"version":"0.3.27","status":"affected","versionType":"semver","lessThanOrEqual":"0.8.41"}]},{"vendor":"Hmbown","product":"CodeWhale","defaultStatus":"unaffected","packageURL":"pkg:npm/deepseek-tui","versions":[{"version":"0.3.27","status":"affected","versionType":"semver","lessThan":"0.8.41"},{"version":"0.8.41","status":"unaffected","versionType":"semver"}]},{"vendor":"Hmbown","product":"CodeWhale","defaultStatus":"unaffected","packageURL":"pkg:cargo/codewhale-tui","versions":[{"version":"0.8.41","status":"affected","versionType":"semver","lessThan":"0.8.64"},{"version":"0.8.64","status":"unaffected","versionType":"semver"}]},{"vendor":"Hmbown","product":"CodeWhale","defaultStatus":"unaffected","packageURL":"pkg:npm/codewhale","versions":[{"version":"0.8.41","status":"affected","versionType":"semver","lessThan":"0.8.64"},{"version":"0.8.64","status":"unaffected","versionType":"semver"}]}],"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"}}],"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"},{"name":"VulnCheck Advisory: CodeWhale before 0.8.64 Argument Injection via git_show","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show"}],"credits":[{"lang":"en","value":"0xEr3n","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"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"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-18T15:56:59.766Z"}}]}}