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.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-vjqx-cfc4-9h6v
Issue Tracking x_refsource_misc
https://github.com/modelcontextprotocol/servers/pull/3164
Scores
CVSS v3
6.5
EPSS
0.0004
EPSS Percentile
11.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (3)
lfprojects/model_context_protocol_servers
< 2026.1.14
modelcontextprotocol/servers
< 2026.1.14
pypi/mcp-server-git
0 - 2026.1.14PyPI
Published
Feb 26, 2026
Tracked Since
Feb 26, 2026