CVE-2026-85626 PUBLISHED

git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters

Assigner: VulnCheck
Reserved: 04.09.2026 Published: 04.09.2026 Updated: 04.09.2026

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.

Metrics

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
CVSS Score: 8.7

Product Status

Vendor cyanheads
Product git-mcp-server
Versions Default: unaffected
  • affected from 0 to 2.15.3 (incl.)

Credits

  • George Chen finder

References

Problem Types

  • Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') CWE