Medium severity6.5NVD Advisory· Published Feb 26, 2026· Updated Apr 14, 2026
CVE-2026-27735
CVE-2026-27735
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mcp-server-gitPyPI | < 2026.1.14 | 2026.1.14 |
Affected products
2- cpe:2.3:a:lfprojects:model_context_protocol_servers:*:*:*:*:*:*:*:*Range: <2026.1.14
Patches
Vulnerability mechanics
References
5- github.com/modelcontextprotocol/servers/pull/3164nvdIssue TrackingPatchWEB
- github.com/modelcontextprotocol/servers/security/advisories/GHSA-vjqx-cfc4-9h6vnvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-vjqx-cfc4-9h6vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-27735ghsaADVISORY
- github.com/modelcontextprotocol/servers/commit/862e717ff714987bd5577318df09858e14883863ghsaWEB
News mentions
0No linked articles in our index yet.