In mcp-server-git before 2026.10.28, the --repository restriction can be bypassed through a nested directory that
Source GCVE Database
Not known to be exploited · CVSS 5.8 Medium : upgrade to 2026.10.28 when convenient.
Data as of 23 Nov 2026, 19:56 UTC
Thin evidence
One scorer or none| CNA (Anthropic) | CVSS 4.0 | 5.8 |
|---|
- Patch
- Available – fixed in 2026.10.28
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Nov 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 22 Nov 2026.
What to do
Upgrade mcp-server-git to 2026.10.28.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Anthropicmcp-server-git | Affected
| Fixed in
|
PyPImcp-server-gitpkg:pypi/mcp-server-gitOther 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
A fix is available in mcp-server-git version 2026.10.28 that addresses this bypass. Users should upgrade to this version or later to remediate the vulnerability. No other mitigation guidance is provided.
Description
A directory traversal vulnerability exists in mcp-server-git versions before 2026.10.28, where the --repository restriction can be bypassed by placing a nested directory containing a .git file with a gitdir pointer to an external repository. This allows an attacker with limited privileges who can invoke the server's tools and place such a file to read committed content and create branches in repositories outside the allowed path.