CVE-2025-68145

MCP Git tool paths bypass the configured repository boundary

Model Context Protocol · mcp-server-git

First documented disclosure · Review checkpoint

Summary

Tool repo_path values were not checked against the server’s configured --repository path.

Severity and exploitation evidence

Medium · 6.4/10 · CVSS 4.0. Severity source.

Exploitation not established: Reviewed public sources establish the reported weakness or a controlled demonstration; malicious exploitation against users is not established.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

Tool repo_path values were not checked against the server’s configured --repository path.

Conditions required

Tool access and an outside repository reachable by the server account.

Potential impact

Read or modification of repositories outside the intended boundary.

Affected versions and configurations

Before 2025.12.18 according to the current maintainer GHSA; the CNA instead names the earlier 2025.12.17 boundary.

Fix and mitigation status

2025.12.18 according to the current maintainer GHSA; CNA prose still names 2025.12.17. Released artifact inclusion was not independently verified.

Practical next steps

Apply the current maintained server release containing this correction, restrict tool access and avoid untrusted repository metadata. Later distinct Git-server advisories also require attention.

Operating lesson

A startup confinement option must be enforced on every later tool call.

Evidence and limits

Historical coverage gap. The complete original GHSA and CNA were reviewed; fixed versions are maintainer assertions, not newly tested wheels. This correction does not establish that later repository-metadata bypasses are resolved. No exploit was executed during this review.

Sources