CVE Tools

CVE-2026-27735

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

Published: Feb 25, 2026Updated: Apr 14, 2026 Sources: CVE List NVD GHSACWE-22
6.5CVSSMEDIUM

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 Vector Breakdown

AV:NAC:LPR:NUI:RS:UC:HI:NA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:NIntegrity
None
A:NAvailability
None

Weaknesses

Affected Products

lfprojectsoss-projectAI / MLaka mlflow, valkey, model context protocol servers, mcp servers
pypipackage-ecosystemOSS Libraries
modelcontextprotocoloss-projectAI / MLaka mcp, model context protocol

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

Official Patch Available

MITRE ATT&CK

2 techniques
Collection
Discovery
View detailed technique mapping

References

and 2 more references View all →

Timeline

Published
Feb 25, 2026
Last Updated
Apr 14, 2026

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-27735 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows