PT-2025-51938

CVE-2025-68145

·

Published

2025-12-17

·

Updated

2026-10-14

Description by

CVSS 3.1
9.1
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions mcp-server-git versions prior to 2025.12.17
Description In mcp-server-git versions prior to 2025.12.17, the server did not validate that repo path arguments in subsequent tool calls were within the configured repository path when started with the --repository flag. 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.
Recommendations Upgrade to version 2025.12.17 to resolve this issue.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-J22H-9J4X-23W5
PYSEC-2026-1623
Found an issue in the description? Have something to add? Feel free to write us 👾