{"id":"CVE-2026-85626","title":"git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters","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= …","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","cvssSource":"cna","cwe":["CWE-88"],"vendor":"cyanheads","product":"git-mcp-server","affected":["git-mcp-server <= 2.15.3"],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-08T16:55:30.737717Z"},"exploitAvailable":true,"published":"2026-09-04","updated":"2026-09-08","sourceUpdated":"2026-09-08T16:55:54.392Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-85626","references":[{"url":"https://github.com/cyanheads/git-mcp-server/issues/53","label":"GitHub Issue #53"},{"url":"https://github.com/cyanheads/git-mcp-server"},{"url":"https://github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/operations/commits/log.ts"},{"url":"https://github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/utils/command-builder.ts"},{"url":"https://www.vulncheck.com/advisories/git-mcp-server-2.15.1-argument-injection-via-git-ref-parameters","label":"VulnCheck Advisory: git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters"}],"tags":["cve.org","exploit-available"],"epss":0.0027,"epssPercentile":0.19412,"ingestedAt":"2026-09-08T19:08:49.672Z","slug":"CVE-2026-85626","body":"## Overview\n\ngit-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.\n\n## Affected\n\n- `git-mcp-server <= 2.15.3`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[]}