Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134465: medium-severity vulnerability (CVSS 5.8) in Anthropic mcp-server-git.
What happened
Original description from 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.
Why it matters
Medium severity, CVSS 5.8.
Affected products and versions
Anthropic mcp-server-git < 2026.10.28
| Product | Versions | Fixed in |
|---|---|---|
| Anthropic mcp-server-git | < 2026.10.28 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-w766-5x43-whvw — CVE Program
Weaknesses (CWE): CWE-22
Relevant change history
Published
Preliminary advisory published.