CVE-2026-27735 — mcp-server-git : Path traversal in mcp-server-git...
mcp-server-git : Path traversal in git_add allows staging files outside repository boundaries
Summary
Advisory Timeline
- First published February 26, 2026 (228 days ago).
- Last revised July 13, 2026 — 137 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "mcp-server-git>=2026.1.14"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: pypi (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| mcp-server-git | pypi | 0.2.0, 0.3.0, 0.4.0, 0.4.1 (+10 more) | 2026.1.14 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
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
References
- https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-vjqx-cfc4-9h6vWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27735ADVISORY
- https://github.com/modelcontextprotocol/servers/pull/3164WEB
- https://github.com/modelcontextprotocol/servers/commit/862e717ff714987bd5577318df09858e14883863WEB
- https://github.com/modelcontextprotocol/serversPACKAGE
Frequently Asked Questions
- What is CVE-2026-27735?
- mcp-server-git : Path traversal in git_add allows staging files outside repository boundaries This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2026-27735?
- CVE-2026-27735 affects mcp-server-git. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-27735 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2025-68143CRITICAL
mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations
- CVE-2025-68145CRITICAL
mcp-server-git has missing path validation when using --repository flag
- CVE-2025-68143MEDIUM
mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations
- CVE-2026-65829MEDIUM
MPXJ: Potential Path Traversal Vulnerability in Primavera P3 PRX and SureTrak STX readers
- CVE-2025-46571MEDIUM
Open WebUI allows limited stored XSS vila uploaded html file
- CVE-2025-68145MEDIUM
mcp-server-git has missing path validation when using --repository flag
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies