Back to CVE records
Medium 6.4Published Feb 25, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects modelcontextprotocol servers and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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 MEDIUM (v4.0, CNA)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
Weakness (CWE)
CWE-22
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Feb 26, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
modelcontextprotocol servers
modelcontextprotocol:servers (from the name)
before 2026.1.14
CNA record
lfprojects model_context_protocol_servers
lfprojects:model_context_protocol_servers
before 2026.1.14
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.