6.5Media

CVE-2025-68143mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations

modelcontextprotocol servers Publicada: (hace 11 meses)

Descripción

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.

Debilidad (CWE): CWE-22

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
lfprojects model context protocol servers < 2025.9.25
modelcontextprotocol servers < 2025.9.25

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:lfprojects:model_context_protocol_servers:*:*:*:*:*:*:*:* < 2025.9.25