{"id":"CVE-2026-75913","summary":"CodeWhale before 0.8.64 Argument Injection via git_show","details":"CodeWhale (codewhale / codewhale-tui) versions \u003e= 0.8.41 and \u003c 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 0.8.64 by adding rev validation.","aliases":["GHSA-7j5w-7r7x-9v27"],"modified":"2026-09-10T03:31:07.820786862Z","published":"2026-08-18T15:22:01.505Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-73"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75913.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75913.json"},{"type":"ADVISORY","url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75913"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show"},{"type":"FIX","url":"https://github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hmbown/codewhale","events":[{"introduced":"6021fc56c82f1f4ea4672380bed4208aa7be1baf"},{"introduced":"5fa24733e9a1d11315506309b8edb0fdf2b94f04"},{"fixed":"5fa24733e9a1d11315506309b8edb0fdf2b94f04"},{"fixed":"9d2e6a89f58610d5f426ff26533a2bf312023790"},{"fixed":"9a34b5034d29f05d1f28fa61b04719ca6a741020"}],"database_specific":{"extracted_events":[{"introduced":"0.3.27"},{"fixed":"0.8.41"},{"introduced":"0.8.41"},{"fixed":"0.8.64"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v0.8.60","v0.8.40","v0.8.63","v0.8.62","v0.8.61","v0.8.59","v0.8.58","v0.8.57","v0.8.56","v0.8.55","v0.8.53","v0.8.54","v0.8.52","v0.8.51","v0.8.50","v0.8.49","v0.8.48","v0.8.46","v0.8.45","v0.8.44","v0.8.43","v0.8.42","v0.8.41","v0.8.39","v0.8.38","v0.8.37","v0.8.36","v0.8.35","v0.8.33","v0.8.32","v0.8.31","v0.8.30","v0.8.28","v0.8.29","v0.8.27","v0.8.26","v0.8.25","v0.8.24","v0.8.23","v0.8.22","v0.8.21","v0.8.20","v0.8.19","v0.8.18","v0.8.17","v0.8.15","v0.8.14","v0.8.13","v0.8.12","v0.8.11","v0.8.10","v0.8.9","v0.8.8","v0.8.7","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.9","v0.7.8","v0.7.7","v0.7.6","v0.7.5","v0.7.4","v0.7.2","v0.7.1","v0.7.0","v0.6.7","v0.6.6","v0.6.5","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.5.2","v0.5.1","v0.5.0","v0.4.9","v0.4.8","v0.4.7","v0.4.6","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.33","v0.3.32","v0.3.31","v0.3.28","v0.3.27"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-75913.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}