StraitOfVuln
Latest / CVE-2025-68145

CVE-2025-68145

CriticalCVSS 9.1 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2025-68145
Published / updated
17 Dec 2025, 23:16 UTC · last modified 30 Sept 2026, 23:10 UTC
Severity
CRITICAL
CVSS score
9.1 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N · Attack vector: Network
Affected vendor
Affected products
Model Context Protocol Servers
Affected versions
Model Context Protocol Servers: < 2025.12.18
Fixed versions
model context protocol servers 2025.12.18
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
7.53% probability of exploitation in the next 30 days · 95% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (model context protocol servers 2025.12.18) per the vendor advisory.
Source (CNA)
security-advisories@github.com