CVE-2026-85626

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductCyanheads Git-mcp-server
PublishedSep 4, 2026
First seenSep 4, 2026
Weakness typeCWE-88CWE-88

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
cyanheads git-mcp-serverv ≤ 2.15.3—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.