CVE-2026-134465

published 23 Nov 2026 · updated 24 Nov 2026

mcp-server-git: nested gitdir file bypasses --repository restriction

5.8MediumCVSS 5.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2026.10.28.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Anthropic<2026.10.282026.10.28

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-134465 severity on Zeptric[![CVE-2026-134465](https://zeptric.io/badge/cve/CVE-2026-134465.svg)](https://zeptric.io/cve/CVE-2026-134465)