Description
CodeWhale versions before 0.8.64 contain an argument injection vulnerability in the git_blame tool that allows attackers to read arbitrary files by injecting git options into the unvalidated rev parameter. Attackers can supply rev values like --contents=/path/to/file to exfiltrate sensitive files such as SSH keys and credentials through the tool output returned to the model.
Published: 2026-08-18
Score: 8.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

CodeWhale versions before 0.8.64 have an argument injection flaw in the git_blame tool. The unvalidated "rev" parameter accepts arbitrary git options, allowing an attacker to provide values such as "--contents=/path/to/file". This causes git to output the contents of the specified file, which is then returned through the tool’s output. Sensitive data such as SSH keys and credentials can thus be exposed. The flaw enables read access to any file path that the executing user can reach, leading to confidentiality compromise.

Affected Systems

The vulnerability affects Hmbown’s CodeWhale software, all releases prior to version 0.8.64. Any installation of this product that has not been upgraded to 0.8.64 or later is susceptible.

Risk and Exploitability

With a CVSS score of 8.3 the vulnerability is considered high severity. The EPSS score is not available, and it is not listed in the CISA KEV catalog, but the lack of availability does not diminish the risk. The likely attack vector requires an attacker who can influence the "rev" input – for example, a user who can trigger git_blame within the application or a compromised local user with permission to run the tool. If such influence is possible, the attacker could read arbitrary files, potentially leading to credential theft or further lateral movement.

Generated by OpenCVE AI on August 18, 2026 at 16:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade CodeWhale to version 0.8.64 or later, which removes the vulnerable argument handling.
  • If upgrading is not immediately feasible, validate the rev parameter so that it rejects any input beginning with '--' or containing other git option syntax before passing it to git, thereby preventing injection.
  • Limit the execution of git_blame to trusted users or processes by applying file‑system permissions or container isolation, ensuring that only authorized code can invoke the tool with untrusted input.

Generated by OpenCVE AI on August 18, 2026 at 16:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-c6mw-8xh8-gpq6 CodeWhale: Argument Injection in `git_blame` Tool Allows Arbitrary File Read Without Approval
History

Wed, 19 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Hmbown
Hmbown codewhale
Vendors & Products Hmbown
Hmbown codewhale

Tue, 18 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description CodeWhale versions before 0.8.64 contain an argument injection vulnerability in the git_blame tool that allows attackers to read arbitrary files by injecting git options into the unvalidated rev parameter. Attackers can supply rev values like --contents=/path/to/file to exfiltrate sensitive files such as SSH keys and credentials through the tool output returned to the model.
Title CodeWhale before 0.8.64 Argument Injection via git_blame
Weaknesses CWE-88
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}


Subscriptions

Hmbown Codewhale
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-19T14:38:38.466Z

Reserved: 2026-08-18T15:05:54.225Z

Link: CVE-2026-75912

cve-icon Vulnrichment

Updated: 2026-08-19T14:38:33.196Z

cve-icon NVD

Status : Received

Published: 2026-08-18T16:18:23.220

Modified: 2026-08-19T15:18:09.310

Link: CVE-2026-75912

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T17:30:15Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')