mcp-cve-project

CVE-2025-68143 | mcp-server-git (git_init arbitrary path) | Medium / High depending source |

CVE Information

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

CVE Breakdown


What is the vulnerability?

Can make unintended directories eligible for later Git operations.

Attack prerequisites / exposure

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.

CVE is because of what bug?

git_init accepted arbitrary filesystem paths

MCP-specific impact / why it matters

Can make unintended directories eligible for later Git operations. The impact is amplified when the server has broad filesystem or repository access.

Where was the bug? (source + snippet)

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.

Fix / Remediation

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.

Upstream fix (open source)