CVE-2026-85626
git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-88 |
| Vendor | cyanheads |
| Product | git-mcp-server |
| Published | Sep 4, 2026 |
| Last Updated | Sep 8, 2026 |
Stay Ahead of the Next One
Get instant alerts for cyanheads git-mcp-server
Be the first to know when new high vulnerabilities affecting cyanheads git-mcp-server are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Affected Versions
cyanheads / git-mcp-server
0 โค 2.15.3
References
github.com: https://github.com/cyanheads/git-mcp-server/issues/53 github.com: https://github.com/cyanheads/git-mcp-server github.com: https://github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/operations/commits/log.ts github.com: https://github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/utils/command-builder.ts vulncheck.com: https://www.vulncheck.com/advisories/git-mcp-server-2.15.1-argument-injection-via-git-ref-parameters
Credits
George Chen