p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in mcp-server-git

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für mcp-server-git: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 4

  1. CVE-2026-27735

    Mittel · CVSS 6.4EPSS 0,34%Korrektur verfügbar

    mcp-server-git : Path traversal in git_add allows staging files outside repository boundaries

    Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2026.1.14, the git_add tool did not validate that file paths provided in the files argument were within the repository boundaries. Because the tool used GitPython's repo.index.add() rather than the Git CLI, relative paths containing `../` sequences that resolve outside the repository were accepted and staged into the Git index. Users are advised to upgrade to 2026.1.14 or newer to remediate this issue.

    • Auf 2026.1.14 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2025-68145

    Mittel · CVSS 6.4EPSS 7,03%Korrektur verfügbar

    mcp-server-git has missing path validation when using --repository flag

    In mcp-server-git versions prior to 2025.12.17, when the server is started with the --repository flag to restrict operations to a specific repository path, it did not validate that repo_path arguments in subsequent tool calls were actually within that configured path. This could allow tool calls to operate on other repositories accessible to the server process. The fix adds path validation that resolves both the configured repository and the requested path (following symlinks) and verifies the requested path is within the allowed repository before executing any git operations. Users are advised to upgrade to 2025.12.17 upon release to remedia

    • Auf 2025.12.18 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2025-68144

    Mittel · CVSS 6.3EPSS 7,21%Korrektur verfügbar

    mcp-server-git argument injection in git_diff and git_checkout functions allows overwriting local files

    In mcp-server-git versions prior to 2025.12.17, the git_diff and git_checkout functions passed user-controlled arguments directly to git CLI commands without sanitization. Flag-like values (e.g., `--output=/path/to/file` for `git_diff`) would be interpreted as command-line options rather than git refs, enabling arbitrary file overwrites. The fix adds validation that rejects arguments starting with - and verifies the argument resolves to a valid git ref via rev_parse before execution. Users are advised to update to 2025.12.17 resolve this issue when it is released.

    • Auf 2025.12.18 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2025-68143

    Mittel · CVSS 6.5EPSS 8,13%Korrektur verfügbar

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

    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 i

    • Auf 2025.9.25 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →