Directory Traversal Affecting mcp-server-git package, versions <2026.7.10-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
8.13% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-MCPSERVERGIT-17942472
  • published11 Jul 2026
  • disclosed17 Dec 2025

Introduced: 17 Dec 2025

CVE-2025-68143  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Minimos:latest mcp-server-git to version 2026.7.10-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mcp-server-git package and not the mcp-server-git package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2025.9.25, the git_init tool accepted arbitrary filesystem paths and created Git repositories without validating the target location. Unlike other tools which required an existing repository, git_init could operate on any directory accessible to the server process, making those directories eligible for subsequent git operations. The tool was removed entirely, as the server is intended to operate on existing repositories only. Users are advised to upgrade to 2025.9.25 or newer to remediate this issue.

CVSS Base Scores

version 3.1