CVE-2026-134465
mcp-server-git: nested gitdir file bypasses --repository restriction
CVSS Score
0.0
EPSS Score
0.2%
EPSS Percentile
7th
In mcp-server-git before 2026.10.28, the --repository restriction can be bypassed through a nested directory that contains a .git file with a gitdir pointer to a repository outside the allowed path. A caller who can invoke the server's tools, place such a file in the allowed tree, and knows the outside repository's path can read committed content from that repository and create branches in it.
| CWE | CWE-22 |
| Vendor | anthropic |
| Product | mcp-server-git |
| Published | Nov 23, 2026 |
| Last Updated | Nov 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for anthropic mcp-server-git
Be the first to know when new unknown vulnerabilities affecting anthropic mcp-server-git are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Anthropic / mcp-server-git
0 < 2026.10.28
References
Credits
ShieldPi (@ShieldPi1)