Skip to content
COOEY

EXPOSURES › CVE-2025-68145

CVE-2025-68145

CRITICAL
DETAIL
SourceNVD · cve Published2025-12-17 CVSS9.1 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2025-68145 ↗
SHAME 65/100 unpatchedexploited-in-wild

CVE-2025-68145 in mcp-server-git allows tool calls to operate outside the configured repository path due to missing path validation.

The vulnerability fails to validate that subsequent tool calls stay within the restricted repository path, enabling access to other repositories accessible to the server process. DIB organizations must upgrade to version 2025.12.17 immediately to prevent unauthorized data access and ensure compliance with NIST 800-171 data integrity requirements.

Shame score — A critical path validation flaw allows lateral movement to other repositories, representing a significant avoidable exposure for systems relying on repository isolation.

▸ RECOMMENDED ACTION  Critical severity — schedule patching of the affected products.

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.

AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.