mcp-server-git (git_init arbitrary path) | Medium / High depending source || Field | Value |
|---|---|
| CVE / NVD | CVE-2025-68143 |
| EPSS score | 0.078220000 (FIRST EPSS, 2026-06-30) |
| Date (index) | 2025-12-17 |
| Affected product (index) | mcp-server-git (git_init arbitrary path) |
| GHSA ID | GHSA-5cgr-j3jf-jw3v |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | 2025-12-17 |
| Ecosystem | pip |
| Component | mcp-server-git |
| CVSS score | 8.8 HIGH CVSS v3.1 (NVD) |
| CWE | CWE-22 |
| Affected versions | < 2025.9.25 / older vulnerable versions |
| Fixed versions | 2025.9.25 and later; verify latest |
| Fix status | Patch exists, but version needs verification |
| Exploit status | Chainable |
Can make unintended directories eligible for later Git operations.
The attacker needs control over path, repository, or file arguments reaching the affected tool call. In MCP environments this often becomes reachable through prompt-influenced tool arguments, shared configs, or directly exposed tool endpoints.
git_init accepted arbitrary filesystem paths
Can make unintended directories eligible for later Git operations. The impact is amplified when the server has broad filesystem or repository access.
Exact file/function details are not yet captured in the repository source set. Use the advisory and upstream fix link above as the starting point for source-level pinpointing.
Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.
The fixed release hardens input validation and trust-boundary checks around the vulnerable MCP feature. Upgrade to 2025.9.25 and later; verify latest or later.
2025.9.25 and later; verify latest or later as the primary remediation.This issue is especially important as a chainable primitive. Add only bounded lab verification material if a safe public reference becomes available.
< 2025.9.25 / older vulnerable versions.