CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2025-68143

High
Published: Translated: NVD NIST

Summary

W wersjach mcp-server-git przed 2025.9.25 narzędzie git_init akceptowało dowolne ścieżki systemu plików i tworzyło repozytoria Git bez walidacji lokalizacji docelowej. To umożliwiało operacje na dowolnym katalogu dostępnym dla procesu serwera.

Risk Assessment

Brak walidacji lokalizacji może prowadzić do nieautoryzowanego dostępu do systemu plików, co stwarza ryzyko dla integralności danych i bezpieczeństwa serwera.

Recommendation

Zaleca się aktualizację do wersji 2025.9.25 lub nowszej, aby usunąć to zagrożenie. Narzędzie git_init zostało całkowicie usunięte, ponieważ serwer powinien działać tylko na istniejących repozytoriach.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS