---
id: CVE-2026-75913
title: >-
  CodeWhale (codewhale / codewhale-tui) versions >= 0.8.41 and < 0.8.64 contain
  an argument injection vulnerability in the git_show tool
summary: >-
  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-opt…
severity: critical
cvss: 9.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H'
cwe:
  - CWE-73
  - CWE-88
vendor: deepseek-tui
product: deepseek-tui
affected:
  - 'deepseek-tui >= 0.3.27, <= 0.8.41'
  - 'deepseek-tui >= 0.3.27, < 0.8.41'
  - 'codewhale-tui >= 0.8.41, < 0.8.64'
  - 'codewhale >= 0.8.41, < 0.8.64'
patched:
  - deepseek-tui 0.8.41
  - codewhale-tui 0.8.64
  - codewhale 0.8.64
published: '2026-08-18'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:32:39.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75913'
references:
  - url: >-
      https://github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show
    label: disclosure@vulncheck.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75913'
  - url: 'https://github.com/advisories/GHSA-7j5w-7r7x-9v27'
tags:
  - nvd
  - ghsa
  - rust
epss: 0.00477
epssPercentile: 0.38612
aliases:
  - GHSA-7j5w-7r7x-9v27
ecosystem: rust
ingestedAt: '2026-09-04T18:25:57.175Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-75913)

Affected packages:

- `deepseek-tui >= 0.3.27, <= 0.8.41`
- `deepseek-tui >= 0.3.27, < 0.8.41`
- `codewhale-tui >= 0.8.41, < 0.8.64`
- `codewhale >= 0.8.41, < 0.8.64`

Patched in:

- `deepseek-tui 0.8.41`
- `codewhale-tui 0.8.64`
- `codewhale 0.8.64`

Source: https://github.com/advisories/GHSA-7j5w-7r7x-9v27
