mcp-cve-project

CVE-2026-27735 | mcp-server-git (git_add path traversal; stage files outside repo) | Moderate |

CVE Information

Field Value
CVE / NVD CVE-2026-27735
EPSS score 0.002870000 (FIRST EPSS, 2026-06-30)
Date (index) 2026-02-25
Affected product (index) mcp-server-git (git_add path traversal; stage files outside repo)
GHSA ID GHSA-vjqx-cfc4-9h6v
OWASP MCP Top 10 (2025) MCP02 — Privilege Escalation via Scope Creep
Published / disclosed 2026-02-25
Ecosystem pip
Component mcp-server-git
CVSS score 6.5 MEDIUM CVSS v3.1 (NVD)
CWE CWE-22
Affected versions mcp-server-git < 2026.1.14
Fixed versions 2026.1.14
Fix status Patched
Exploit status Public advisory (GitHub reviewed)

CVE Breakdown


What is the vulnerability?

mcp-server-git path traversal in git_add allowed staging files outside repository boundaries. Moderate.

Attack prerequisites / exposure

The attacker needs control over path, repository, or file arguments reaching the affected tool call. In MCP environments this often becomes reachable through prompt-influenced tool arguments, shared configs, or directly exposed tool endpoints.

CVE is because of what bug?

MCP-specific impact / why it matters

mcp-server-git path traversal in git_add allowed staging files outside repository boundaries. Moderate. In MCP environments, even a narrow validation bug can become more dangerous when chained with tool invocation and agent autonomy.

Where was the bug? (source + snippet)

Exact file/function details are not yet captured in the repository source set. Use the advisory and upstream fix link above as the starting point for source-level pinpointing.

Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.

Fix / Remediation

The fixed release hardens input validation and trust-boundary checks around the vulnerable MCP feature. Upgrade to 2026.1.14 or later.

Upstream fix (open source)