CVE-2026-85626
git-mcp-server 2.15.1 contains an argument injection vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/cyanheads/git-mcp-server
- github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/operations
- github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/utils/comm
- github.com/cyanheads/git-mcp-server/issues/53
- www.vulncheck.com/advisories/git-mcp-server-2.15.1-argument-injection-via-git-ref-paramete
- nvd.nist.gov/vuln/detail/CVE-2026-85626
- cve.org/CVERecord?id=CVE-2026-85626
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.