CVE-2026-85626

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.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-85626?
CVE-2026-85626 is a high-severity vulnerability, classified under Argument Injection. CVSS score: 7.5/10. Published 2026-09-04.
How severe is CVE-2026-85626?
High severity. CVSS v3 base score is 7.5 out of 10.