p PatchFirst

CVE-2026-27735

CVE-2026-27735 · mcp-server-git : Path traversal in git_add allows staging files outside repository boundaries

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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.

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

Veröffentlicht
Aktualisiert

Technologie-Stack: python

Betroffene Produkte und Versionen

  • servers

    Softwareversionen
    • < 2026.1.14: Betroffen

    Keine Korrektur veröffentlicht

  • mcp-server-git PyPI

    Softwareversionen
    • 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.11.25
    • 2025.12.18
    • 2025.7.1
    • 2025.9.25
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2026.1.14

    Auf 2026.1.14 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →