rewindex

RewindexCVEsAnthropic

CVE-2026-134465: mcp-server-git: nested gitdir file bypasses --repository restriction

Medium · CVSS 5.8 (CVSS 4.0)EPSS 0.41%, 38th percentilePublished Updated Assigner: Anthropic

Description

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-22

Tracked companies

Anthropic

Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.

Status incidents that name it

No tracked status incident names this CVE.

Affected vendors and products

Anthropic: mcp-server-git

References

All CVEsMarkdownJSON