Path Traversal in Lfprojects Model Context Protocol Servers
CVE-2026-27735
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.003 (20.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
Affected products
- Lfprojects Model_context_protocol_servers
- Modelcontextprotocol Servers — versions < 2026.1.14
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC, Issue Tracking)
Frequently asked questions
- What is CVE-2026-27735?
- CVE-2026-27735 is a medium-severity vulnerability in Lfprojects Model Context Protocol Servers, classified under Path Traversal. CVSS score: 6.5/10. Published 2026-02-26.
- How severe is CVE-2026-27735?
- Medium severity. CVSS v3 base score is 6.5 out of 10.