# CVE-2026-85626: git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-04T14:32:16.072Z
- Modified: 2026-10-01T18:39:48.836Z
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- cyanheads git-mcp-server: up to 2.15.3

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/cyanheads/git-mcp-server/issues/53> (exploit, issue-tracking)
- <https://github.com/cyanheads/git-mcp-server> (product)
- <https://github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/operations/commits/log.ts> (technical-description)
- <https://github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/utils/command-builder.ts> (technical-description)
- <https://www.vulncheck.com/advisories/git-mcp-server-2.15.1-argument-injection-via-git-ref-parameters> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-85626](https://www.cve.org/CVERecord?id=CVE-2026-85626), CVE Terms of Use, modified 2026-10-01
- NVD: [CVE-2026-85626](https://nvd.nist.gov/vuln/detail/CVE-2026-85626), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-85626 · Whole record: https://cve.day/CVE-2026-85626.json · Rebuilt by cve.day 2026-11-25T22:59:36.295Z
