PT-2025-51938 · Unknown · Git-Mcp-Server

Yardenporat

·

Published

2025-12-17

·

Updated

2026-03-10

·

CVE-2025-68145

CVSS v4.0
6.4
VectorAV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA: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.

Fix

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2025-68145

Affected Products

Git-Mcp-Server