CVE-2026-27735: modelcontextprotocol servers · Path Traversal
Affects modelcontextprotocol serversSource CVE Database V5
Not known to be exploited · CVSS 6.4 Medium : upgrade to 2026.1.14 when convenient.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2026.1.14
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade servers and modelcontextprotocol/servers to 2026.1.14.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| modelcontextprotocolservers | Affected
| Fixed in
|
GitHubmodelcontextprotocol/serverspkg:github/modelcontextprotocol/serversOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-27735, organizations should immediately upgrade all affected modelcontextprotocol servers to version 2026.1.14 or later, where the path traversal issue is fixed by enforcing strict validation of file paths within repository boundaries. Additionally, restrict access to the git_add tool and related interfaces to trusted users only, minimizing exposure to untrusted inputs. Implement input validation and sanitization on any user-supplied file paths before processing. Employ monitoring and auditing of repository changes to detect unusual file additions or modifications outside expected directories. Consider using file system permissions to limit the ability of the git_add tool to access files outside the repository directory. Finally, incorporate security testing in the development pipeline to detect path traversal and similar vulnerabilities early.
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.