Vulnerability

CVE-2026-85626

highCVSS 4.0 8.7Published 4 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /cyanheads/git-mcp-server
  • github.com /cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/pro…
  • github.com /cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/pro…
  • github.com /cyanheads/git-mcp-server/issues/53
  • www.vulncheck.com /advisories/git-mcp-server-2.15.1-argument-injection-via-gi…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning