CVE-2025-68143CWE-22path-traversal

CVE-2025-68143

High · published December 18, 2025

CVSS v3.1
8.8
EPSS
8%
Percentile
94.8
In the wild
Unconfirmed
What it is

Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2025.9.25, the git_init tool accepted arbitrary filesystem paths and created Git repositories without validating the target location. Unlike other tools which required an existing repository, git_init could operate on any directory accessible to the server process, making those directories eligible for subsequent git operations. The tool was removed entirely, as the server is intended to operate on existing repositories only. Users are advised to upgrade to 2025.9.25 or newer to remediate this issue.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.08134 · 94.8th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-12-18T04:16Z
Affected products (1)
ProductVersionsFixed in
lfprojects/model_context_protocol_servers< 2025.9.252025.9.25
References (2)
EPSS history
Timeline
  • 17 DEC 22:09Z
    mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations
    cvelistv5