In mcp-server-git before 2026.10.28, the --repository restriction can be bypassed through a...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Anthropicmcp-server-git |
< 2026.10.28→ 2026.10.28 |
2026.10.28 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web github.com
- web nvd.nist.gov
- web github.com