6.5

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

Analyzed
AliasesGHSA-vjqx-cfc4-9h6vPYSEC-2026-2630
Published 25-02-2026Last modified 26-02-2026

Vulnerability summary

CVE-2026-27735 is a medium (CVSS 6.5) vulnerability in lfprojects model_context_protocol_servers. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 30.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.35%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 25-02-2026
    PublishedVulnerability first disclosed.
  2. 26-02-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.35%

Chance of exploitation in the next 30 days

Percentile

31%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.34% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Lfprojects1 product
Modelcontextprotocol1 product
PyPI1 product
  • mcp-server-git< 2026.1.14

3 vendors · 3 products

References

7 links