Skip to content
OpenAdvisories
High · 7.5 CVE-2026-85626 EUVD-2026-71233GHSA-p58h-f635-vjjm

git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters

Published Sep 4, 2026 · Updated Oct 1, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
cyanheads git-mcp-server ≤ 2.15.3 —

References