Vulnerability in Cyanheads Git-Mcp-Server
CVE-2026-85626
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.005 (39.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 39.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.002
Affected products
Weakness classification (CWE)
References
- github.com/cyanheads/git-mcp-server (product)
- github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli… (technical-description)
- github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli… (technical-description)
- GitHub Issue #53 (issue-tracking)
- VulnCheck Advisory: git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters (third-party-advisory)
Frequently asked questions
- What is CVE-2026-85626?
- CVE-2026-85626 is a high-severity vulnerability in Cyanheads Git-Mcp-Server, classified under Argument Injection. CVSS score: 7.5/10. Published 2026-09-04.
- How severe is CVE-2026-85626?
- High severity. CVSS v3 base score is 7.5 out of 10.