CVE-2025-68145: lfprojects model_context_protocol_servers Path Traversal
Vulnerability summary
CVE-2025-68145 is a critical (CVSS 9.1) Path Traversal vulnerability in lfprojects model_context_protocol_servers. EPSS estimates a 7.03% chance of exploitation in the next 30 days, higher than 94.1% of scored vulnerabilities.
Timeline
- 17-12-2025PublishedVulnerability first disclosed.
- 18-12-2025Last modifiedVulnerability information updated.
Description
In mcp-server-git versions prior to 2025.12.17, when the server is started with the --repository flag to restrict operations to a specific repository path, it did not validate that repo_path arguments in subsequent tool calls were actually within that configured path. This could allow tool calls to operate on other repositories accessible to the server process. The fix adds path validation that resolves both the configured repository and the requested path (following symlinks) and verifies the requested path is within the allowed repository before executing any git operations. Users are advised to upgrade to 2025.12.17 upon release to remediate this issue.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.4MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
- NVDNIST6.4MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/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
EPSS trend
Probability
7.03%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
0.00 pp
From 7.03% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Lfprojects1 product
- model_context_protocol_servers< 2025.12.18
Modelcontextprotocol1 product
- servers< 2025.12.17
PyPI1 product
- mcp-server-git< 2025.12.18
3 vendors · 3 products
References
5 links- github.com/modelcontextprotocol/servers/security/advisories/GHSA-j22h-9j4x-23w5X Refsource CONFIRMWEBVendor Advisory