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.
History

Mon, 07 Sep 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Cyanheads
Cyanheads git-mcp-server
Vendors & Products Cyanheads
Cyanheads git-mcp-server

Fri, 04 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters
Weaknesses CWE-88
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-09-04T14:32:16.072Z

Updated: 2026-09-08T16:55:54.392Z

Reserved: 2026-09-04T11:03:33.316Z

Link: CVE-2026-85626

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T15:17:43.040

Modified: 2026-09-08T17:18:38.893

Link: CVE-2026-85626

cve-icon Redhat

No data.