← VULNERABILITIES

CVE-2026-134465

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

Medium · 5.8Fix available
CVSS
5.8
EPSS
0.41% (p27)
Published
2026-11-23
Age
6d old
Modified
2026-11-24
Product
Anthropic mcp-server-git

CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

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.

Fixed in

2026.10.28

Affected packages

EcosystemPackageRangeFixed
vendormcp-server-git>=0, <2026.10.282026.10.28

Sources

  • NVD · first seen 6d ago · NVD terms of use
  • CVE List · first seen 6d ago · CVE Terms of Use

References

JSON