CodeWhale before 0.8.64 Argument Injection via git_show
Published Aug 18, 2026
8.5
HIGHCVSS 4.0
EPSS 0.48%
Description
CodeWhale (codewhale / codewhale-tui) versions >= 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 0.8.64 by adding rev validation.
Affected products
-
- Version 0.3.27StatusaffectedConstraints<0.8.41
- Version 0.8.41StatusaffectedConstraints<0.8.64
- Version 0.8.41StatusunaffectedConstraints-
- Version 0.8.64StatusunaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
deepseek-tui
crates.io
Introduced 0.3.27 Fixed not fixeddeepseek-tui
npm
Introduced 0.3.27 Fixed 0.8.41codewhale-tui
crates.io
Introduced 0.8.41 Fixed 0.8.64codewhale
npm
Introduced 0.8.41 Fixed 0.8.64
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| crates.io | deepseek-tui | 0.3.27 | not fixed |
| npm | deepseek-tui | 0.3.27 | 0.8.41 |
| crates.io | codewhale-tui | 0.8.41 | 0.8.64 |
| npm | codewhale | 0.8.41 | 0.8.64 |
Remediation
No remediation recorded yet.
Metrics
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
1 other source (NVD) ▾
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Aug 18, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Aug–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.48% (0.00477) | 38.91th | v5 (v2026.06.15) |
| Aug 19, 2026 | 0.33% (0.00330) | 26.04th | v5 (v2026.06.15) |
References (5)
- https://github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020 patch
- https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27 vendor-advisory
- https://github.com/advisories/GHSA-7j5w-7r7x-9v27 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-75913
- https://www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show third-party-advisory
Change history (0)
No recorded changes yet.