Path Traversal in Lfprojects Model Context Protocol Servers
CVE-2025-68143
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.080 (94.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Lfprojects Model_context_protocol_servers
- Modelcontextprotocol Servers — versions < 2025.9.25
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-68143?
- CVE-2025-68143 is a high-severity vulnerability in Lfprojects Model Context Protocol Servers, classified under Path Traversal. CVSS score: 8.8/10. Published 2025-12-17.
- How severe is CVE-2025-68143?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2025-68143 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.