# CVE-2026-75913: CodeWhale before 0.8.64 Argument Injection via git_show

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-08-18T15:22:01.505Z
- Modified: 2026-10-29T21:17:33.277Z
- Also known as: GHSA-7j5w-7r7x-9v27
- Weaknesses: CWE-73, CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Hmbown CodeWhale: from 0.3.27 up to 0.8.41; from 0.3.27 before 0.8.41; from 0.8.41 before 0.8.64 (not affected: 0.8.41; 0.8.64)
- deepseek-tui (crates.io): from 0.3.27 up to 0.8.41
- deepseek-tui (npm): from 0.3.27 before 0.8.41
- codewhale-tui (crates.io): from 0.8.41 before 0.8.64
- codewhale (npm): from 0.8.41 before 0.8.64

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H`
- GitHub: CVSS:3.1 9.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27> (vendor-advisory, web)
- <https://github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020> (patch, web)
- <https://www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-75913> (advisory)
- <https://github.com/Hmbown/CodeWhale> (package)

## Sources

- CVE List: [CVE-2026-75913](https://www.cve.org/CVERecord?id=CVE-2026-75913), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-7j5w-7r7x-9v27](https://github.com/advisories/GHSA-7j5w-7r7x-9v27), CC-BY-4.0, modified 2026-09-04
- NVD: [CVE-2026-75913](https://nvd.nist.gov/vuln/detail/CVE-2026-75913), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-75913 · Whole record: https://cve.day/CVE-2026-75913.json · Rebuilt by cve.day 2026-11-25T22:59:33.515Z
