CVE-2026-85626
published high CVSS 4.0 · 8.7git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cyanheads | — | git-mcp-server0 through 2.15.3 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cyanheads | git-mcp-server | 0 through 2.15.3 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
5- https://github.com/cyanheads/git-mcp-server
- https://github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/operations/commits/log.ts
- https://github.com/cyanheads/git-mcp-server/blob/v2.15.3/src/services/git/providers/cli/utils/command-builder.ts
- GitHub Issue #53 https://github.com/cyanheads/git-mcp-server/issues/53
- VulnCheck Advisory: git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters https://www.vulncheck.com/advisories/git-mcp-server-2.15.1-argument-injection-via-git-ref-parameters
Provider assertions
2VulnCheck · cna
git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 06de00e8620b0589aa188f3745f61148f17cb7a02c428d8f76032a12d70b2469
- Ingested
- 02 Oct 2026, 02:37:50 UTC
- Source record
- Official CVE record