Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Unauthenticated network vector; scope change (S:C) because writes escape the repository to arbitrary OS-accessible paths, affecting the broader system.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
Argument injection in git-mcp-server 2.15.1 allows unauthenticated remote attackers to write arbitrary files outside the target repository to any filesystem path reachable by the server process. The ref and object parameters passed to the git_log, git_diff, and git_show tool handlers lack leading-dash validation, permitting injection of git command-line options such as --output= directly into the underlying CLI invocation. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | No authentication is required and no special configuration is needed - exploitation targets the default tool-handling behavior of git-mcp-server v2.15.1 for the `git_log`, `git_diff`, and `git_show` tools when invoked with attacker-controlled `ref` or `object` parameters. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The CVSS 4.0 base score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H) accurately reflects a straightforward, unauthenticated network-reachable injection with high integrity impact; no exploitation complexity or privilege barrier is required. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | Full exploit scenario with step-by-step reproduction available after sign-in. |
| Remediation | Upgrade to git-mcp-server v2.15.3, which introduces leading-dash validation in the command-builder utility (`src/services/git/providers/cli/utils/command-builder.ts`) and in the `git_log` operation (`src/services/git/providers/cli/operations/commits/log.ts`), preventing argument injection via the `ref` and `object` parameters. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours, identify all systems running git-mcp-server and determine which versions are deployed; immediately implement network-level access controls restricting traffic to git-mcp-server ports to only trusted internal IP ranges. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
More in Git Mcp Server
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-71233
GHSA-p58h-f635-vjjm