CVE-2025-68145CRITICAL 9.1EPSS p92.6%

CVE-2025-68145CVE-2025-68145

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.

Scoring

CVSS 3.19.1 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS6.20% probability of exploitation · percentile 92.6% · 2026-06-19T12:03:05Z
Published2025-12-17
Last modified2026-04-14

Underlying weaknesses· 1

CWE-22

References

  1. https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-j22h-9j4x-23w5

1

TypeTargetConfidenceTier
WeaknessImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal')cwe-220%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-68143
CVE
CVE-2025-6514
CVE
CVE-2025-66401
CVE
CVE-2025-46835
CVE
CVE-2025-61492
CVE
CVE-2025-59333
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.