Vulnerability · Published Sep 4, 2026 · Assigned by VulnCheck

CVE-2026-85626git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters

High 7.5

In plain English

A high-severity argument injection in git-mcp-server from cyanheads. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 58.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

git-mcp-server 2.15.1 contains an argument injection vulnerability in the ref and object parameters of git_log, git_diff, and git_show tools that lack leading-dash validation. Attackers can inject git command-line options like --output= to write files outside the repository to arbitrary paths accessible by the process.

Affected products (as reported)

VendorProductVersions
cyanheads git-mcp-server 0 – through 2.15.3

Weakness: CWE-88 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References