modelcontextprotocol · MCP reference servers · published 2025-12-17
CVE-2025-68145mcp-server-git has missing path validation when using --repository flag
Routine No exploitation evidence; EPSS 7.5%.
CVE-2025-68145 is not known to be exploited in the wild. EPSS estimates a 7.5% chance of exploitation in the next 30 days, higher than 94% of all CVEs. This MCP reference servers vulnerability: CVSS 6.4 (v4.0), attacks can be automated. Fixed upstream in MCP reference servers 2025.12.18, 2025.9.25. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in MCP reference servers 2025.12.18, 2025.9.25.
Patch events
AI toolingMCP reference servers
MCP reference servers security releases: 2025.12.18, 2025.9.25
Upgrade to
2025.12.182025.9.25Why: CVE-2025-68143: No exploitation evidence; EPSS 8.7%.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 7.5% (95th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 6.4 (v4.0)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 | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- modelcontextprotocol servers
< 2025.12.17(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.