CVE-2025-68145Lfprojects Model Context Protocol Servers
Medium 6.4 No auth needed
Follow: this CVE · Lfprojects · Lfprojects Model Context Protocol Servers We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.4
- EPSS
- —
- Auth required
- No
- Published
- Dec 17, 2025
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS: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
What happens
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.
What to do
- Apply the vendor's security update for Model Context Protocol Servers.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mcp-server-git |
< 2025.12.18 |
2025.12.18 |
pip install "mcp-server-git>=2025.12.18" |
| PyPI | mcp-server-git |
< 2025.12.18 |
2025.12.18 |
pip install "mcp-server-git>=2025.12.18" |
Per OSV / GitHub Advisories (GHSA-j22h-9j4x-23w5, PYSEC-2026-1623). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lfprojects | model_context_protocol_servers | < 2025.12.18 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory