p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de mcp-server-git

Vulnerabilidades publicadas para mcp-server-git en los últimos 30 días: 0. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 4

  1. CVE-2026-27735

    Media · CVSS 6.4EPSS 0,34%Corrección disponible

    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.

    • Actualiza a 2026.1.14
    Publicación Actualización
  2. CVE-2025-68145

    Media · CVSS 6.4EPSS 7,03%Corrección disponible

    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

    • Actualiza a 2025.12.18
    Publicación Actualización
  3. CVE-2025-68144

    Media · CVSS 6.3EPSS 7,21%Corrección disponible

    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.

    • Actualiza a 2025.12.18
    Publicación Actualización
  4. CVE-2025-68143

    Media · CVSS 6.5EPSS 8,13%Corrección disponible

    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

    • Actualiza a 2025.9.25
    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →