highCVSS 7.4Vulnerability

CVE-2026-75912

### Maintainer resolution The CodeWhale maintainers validated this report. The affected package ranges are recorded in the advisory metadata. Version 0.8.64 contains the fix in commit 9a34b5034d29f05d1f28fa61b04719ca6a741020. Users should upgrade to 0.8.64 or later. The original reporter analysis is preserved below. # Argument Injection in `git_blame` Tool Allows Arbitrary File Read Without Approval ## Overview The `git_blame` tool in DeepSeek-TUI passes the model-supplied `rev` parameter unvalidated into the argv of `git blame`. `git blame` accepts `--contents=<file>`, which causes it to use the file's contents in place of the working tree and echo each line verbatim in the blame output. A `rev` value of `--contents=/path/to/secret` therefore exfiltrates the targeted file's contents into the tool result, which is returned to the model and displayed in the chat transcript. The tool is registered with `ApprovalRequirement::Auto` and declares `ToolCapability::ReadOnly`. The read is in-scope for the capability label, but the *target* of the read is not the user expects `git_blame` to read files inside the workspace, not arbitrary paths on the host. This is a sibling of the `git_show` argument-injection vulnerability filed separately, sharing the same root cause (missing `--end-of-options` sentinel and unvalidated `rev`). ## Impact Arbitrary file read at the privilege of the user running DeepSeek-TUI, via malicious repository content combined with prompt injection (the threat model already documented in CVE-2026-45311). Reachable as the invoking user: - `~/.ssh/id_rsa`, `~/.ssh/id_ed25519`, and other private keys - `~/.aws/credentials`, `~/.config/gh/hosts.yml`, `~/.netrc` - `.env` files anywhere in the filesystem - Any project file outside the workspace the tool would normally restrict to The leaked contents land in the model's context. The same model that obeyed the prompt-injection in step one can be instructed to forward the leak via `fetch_url` (network-

Properties

summary
CodeWhale: Argument Injection in `git_blame` Tool Allows Arbitrary File Read Without Approval
severity
high
epss_score
0.00322
cvss_score
7.4
ghsa_published
2026-09-04T18:11:45Z
source_url
https://github.com/advisories/GHSA-c6mw-8xh8-gpq6
ghsa_updated
2026-09-04T18:11:46Z
ghsa_id
GHSA-c6mw-8xh8-gpq6
cve_id
CVE-2026-75912
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
is_ghsa_only
false
epss_percentile
0.24693

Related Entities (12)

ENRICHED_BY (1)

[Source]FIRST EPSS

REPORTED_BY (1)

[Source]GitHub Advisory Database

VULNERABLE_TO (4)

[Software]rust/codewhale-tui
[Software]npm/deepseek-tui
[Software]npm/codewhale
[Software]rust/deepseek-tui

AFFECTS (4)

[Software]npm/deepseek-tui
[Software]npm/codewhale
[Software]rust/deepseek-tui
[Software]rust/codewhale-tui

HAS_WEAKNESS (2)

[Weakness]Exposure of Sensitive Information to an Unauthorized Actor
[Weakness]Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-75912 (CVSS 7.4) — Ninja Signal Threat Intelligence | Ninja Signal