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.
History

Wed, 25 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 24 Nov 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Anthropic
Anthropic mcp-server-git
Vendors & Products Anthropic
Anthropic mcp-server-git

Mon, 23 Nov 2026 16:15:00 +0000

Type Values Removed Values Added
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.
Title mcp-server-git: nested gitdir file bypasses --repository restriction
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 5.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Anthropic

Published: 2026-11-23T16:00:22.038Z

Updated: 2026-11-24T17:06:07.157Z

Reserved: 2026-11-21T00:17:52.653Z

Link: CVE-2026-134465

cve-icon Vulnrichment

Updated: 2026-11-24T17:05:58.814Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-23T16:17:31.957

Modified: 2026-11-24T17:18:16.763

Link: CVE-2026-134465

cve-icon Redhat

No data.