6.5Mittel

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

modelcontextprotocol servers Veröffentlicht: (vor 11 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-22

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

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

Referenzen und Patches

CPE-Treffer (NVD) (1)

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