CVE-2026-85626: cyanheads git-mcp-server · Argument Injection
Affects cyanheads git-mcp-serverSource CVE Database V5
Not known to be exploited · CVSS 8.7 High.
Data as of 3 Dec 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cyanheadsgit-mcp-server | Affected
| Fixed in– |
AI-suggested
Until an official fix is available, avoid exposing vulnerable git-mcp-server versions to untrusted inputs or networks. Monitor vendor channels for updates and apply patches promptly once released.
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.
References
- github.com/cyanheads/git-mcp-server/issues/53 (opens in a new tab)
- github.com/cyanheads/git-mcp-server (opens in a new tab)
- github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/operations/commits/log.ts (opens in a new tab)
- github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/utils/command-builder.ts (opens in a new tab)
- vulncheck.com/advisories/git-mcp-server-2.15.1-argument-injection-via-git-ref-parameters (opens in a new tab)