Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. deepseek-tui
  4. ›
  5. CVE-2026-75913

CVE-2026-75913: CodeWhale: Argument Injection in `git_show` Tool Allows Arbitrary File Write Without Approval

September 4, 2026

A malicious repository combined with prompt injection, the threat model already documented in CVE-2026-45311 (auto-loaded AGENTS.md is treated as instructions by the model) yields an unprompted arbitrary file write at the privilege of the user running DeepSeek-TUI.

Useful targets reachable as the invoking user:

  • ~/.ssh/authorized_keys
  • ~/.bashrc, ~/.zshrc, ~/.profile
  • ~/.gitconfig (chainable into RCE via core.editor)
  • ~/.config/**, ~/.aws/credentials, project source files

The written content is the git show rendering of HEAD commit hash, author/date header, indented commit message, and (when patch=true) diff hunks. The commit subject, body, author identity, and diff text are entirely attacker-controlled because the attacker owns the repository HEAD. The leading commit <hash> line prevents clean overwrite of formats that reject unknown tokens, but is silently ignorable in files parsed as comments-or-text (crontab, dotfiles consumed by tolerant readers) and is irrelevant for the destructive/DoS sub-case (clobbering ~/.ssh/authorized_keys locks the user out; clobbering a project file corrupts source).

References

  • github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020
  • github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27
  • github.com/advisories/GHSA-7j5w-7r7x-9v27
  • nvd.nist.gov/vuln/detail/CVE-2026-75913
  • www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show

Code Behaviors & Features

Detect and mitigate CVE-2026-75913 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.3.27 up to 0.8.41

Solution

Unfortunately, there is no solution available yet.

Impact 9.3 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-73: External Control of File Name or Path
  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Source file

cargo/deepseek-tui/CVE-2026-75913.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.