Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/cyanheads/git-mcp-server
- https://github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/provid
- https://github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/provid
- https://github.com/cyanheads/git-mcp-server/issues/53
- https://www.vulncheck.com/advisories/git-mcp-server-2.15.1-argument-injection-vi
- https://github.com/cyanheads/git-mcp-server/issues/53
FAQ
What is CVE-2026-85626?
CVE-2026-85626 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2026-85626?
CVE-2026-85626 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-85626?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.