CVE Catalog

CVE-2026-85626

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.27%

19th percentile - higher than 19% of all known CVEs

Summary

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.

Risk Assessment

The risk includes the ability to write files outside the repository, potentially leading to system integrity compromise or even remote code execution if the attacker gains access to sensitive locations.

Recommendation

It is recommended to upgrade git-mcp-server to a version that includes the argument validation fix, and to avoid passing untrusted data to these tools.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS