CVE-2026-75913
published high CVSS 4.0 · 8.5CodeWhale before 0.8.64 Argument Injection via git_show
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Hmbown | — | CodeWhale0.3.27 through 0.8.41 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Hmbown | — | CodeWhale0.3.27 to < 0.8.41 (affected · semver) · 0.8.41 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| Hmbown | — | CodeWhale0.8.41 to < 0.8.64 (affected · semver) · 0.8.64 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| Hmbown | — | CodeWhale0.8.41 to < 0.8.64 (affected · semver) · 0.8.64 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.3 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Hmbown | CodeWhale | 0.3.27 through 0.8.41 (affected · semver)Default: unaffected | VulnCheck · cna |
| Hmbown | CodeWhale | 0.3.27 to < 0.8.41 (affected · semver)0.8.41 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| Hmbown | CodeWhale | 0.8.41 to < 0.8.64 (affected · semver)0.8.64 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| Hmbown | CodeWhale | 0.8.41 to < 0.8.64 (affected · semver)0.8.64 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-73 External Control of File Name or Path
References
3- Patch Commit https://github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020
- GitHub Security Advisory (GHSA-7j5w-7r7x-9v27) https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27
- VulnCheck Advisory: CodeWhale before 0.8.64 Argument Injection via git_show https://www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show
Provider assertions
2VulnCheck · cna
CodeWhale before 0.8.64 Argument Injection via git_show
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 46c8d6f39e1bf7c09862b81de9608f6dcdac2c69021217c8b3245e22feae1f27
- Ingested
- 29 Oct 2026, 21:23:06 UTC
- Source record
- Official CVE record