pypi package report

Is mcp-server-git safe?

4 known vulnerabilities, worst severity MODERATE.

// reach

4 direct dependencies

3 carry known advisories, worst CRITICAL

0 packages depend on it

an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    No published models are known to use this package.


    cvss
    6.4
    medium

    CVSS v4.0 base score out of 10

    epss
    0.34%
    low

    chance of exploitation in 30 days, 28th percentile of all CVEs

    xyz score
    not scored

    CyberXYZ composite out of 10

    fig. 01 — GHSA-vjqx-cfc4-9h6v, the advisory selected below

    // 4 advisories

    GHSA-vjqx-cfc4-9h6v

    MODERATEGitHub ratingCVE-2026-27735

    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. The tool used GitPython's repo.index.add(, which did not enforce working-tree boundary checks for relative paths. As a result, relative paths containing ../ sequences that resolved outside the repository were accepted and staged into the Git index, potentially allowing sensitive files to be exfiltrated via subsequent commit and push operations. The fix in PR #3164 switches to repo.git.add(), which delegates to the Git CLI and properly rejects out-of-tree paths. Users are advised to upgrade to 2026.1.14 or newer to remediate this issue.

    mcp-server-git thanks https://hackerone.com/0dd-g for reporting and contributing the fix.

    // cvss v4.0 vector

    CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N

    Attack vector
    Network
    Attack complexity
    Low
    Attack requirements
    None
    Privileges required
    None
    User interaction
    Passive
    Confidentiality (vulnerable system)
    None
    Integrity (vulnerable system)
    None
    Availability (vulnerable system)
    None
    Confidentiality (subsequent systems)
    High
    Integrity (subsequent systems)
    High
    Availability (subsequent systems)
    None

    Checked 2026-11-08 at 15:41 UTC. The most recent advisory here was published 2026-02-26. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.