CVE-2026-85626

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.

Scoring

Severity
HIGH
CVSS base score
8.7
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS probability
0.27%
CWE
CWE-88
Published
2026-09-04
Last modified
2026-09-08

Affected products

Weakness type

Related vulnerabilities

Markdown version · Browse all CVEs