p PatchFirst

CVE-2025-68143

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.5 · Medium · EPSS 8.1% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • servers

    Versions
    • < 2025.9.25: Affected

    No fix published

  • mcp-server-git PyPI

    Versions
    • 0.2.0
    • 0.3.0
    • 0.4.0
    • 0.4.1
    • 0.5.0
    • 0.5.1
    • 0.6.0
    • 0.6.1
    • 0.6.2
    • 2025.1.14
    • 2025.7.1
    Affected ranges
    • ECOSYSTEM: < 2025.9.25

    Update to 2025.9.25

Original sources

Check your server →