CVE-2026-75913
Received Received - Intake

Argument Injection in CodeWhale git_show Tool

Vulnerability report for CVE-2026-75913, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-18

Last updated on: 2026-08-18

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-18
Last Modified
2026-08-18
Generated
2026-09-08
AI Q&A
2026-08-18
EPSS Evaluated
2026-09-07
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
codewhale codewhale-tui From 0.8.41 (inc) to 0.8.64 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-75913 is an argument injection vulnerability in CodeWhale's git_show tool affecting versions >=0.8.41 and <0.8.64. The rev parameter, supplied by the model, is passed unvalidated into the git show command without an --end-of-options sentinel. Attackers can exploit this by using values like --output= to write arbitrary files on the user's system, including sensitive files such as ~/.ssh/authorized_keys or ~/.bashrc.

Detection Guidance

Check CodeWhale version with npm list codewhale or cargo list codewhale-tui. If version is >=0.8.41 and <0.8.64, the system is vulnerable. Review git_show tool usage in logs for suspicious --output= flags or file writes to sensitive paths like ~/.ssh/authorized_keys.

Impact Analysis

This vulnerability allows an attacker to write arbitrary files to your system without your approval, even though the tool is advertised as read-only. Sensitive files like SSH keys, shell configurations, or Git settings could be overwritten, potentially leading to unauthorized access or system compromise. Exploitation requires a malicious repository and prompt injection.

Compliance Impact

This vulnerability could lead to unauthorized file writes, potentially exposing sensitive data or system configurations. For GDPR, it may violate integrity and confidentiality principles. For HIPAA, unauthorized file access could compromise protected health information. Compliance risks depend on the specific data affected and organizational policies.

Mitigation Strategies

Upgrade CodeWhale to version 0.8.64 or later. If upgrading is not possible, disable auto-approval for git_show tool and add --end-of-options sentinel to git show commands. Avoid using untrusted repositories with CodeWhale.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-75913. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart