{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-134465","assignerOrgId":"98a01053-8a31-4f6d-9aa9-252be161adc6","state":"PUBLISHED","assignerShortName":"Anthropic","dateReserved":"2026-11-21T00:17:52.653Z","datePublished":"2026-11-23T16:00:22.038Z","dateUpdated":"2026-11-23T16:00:22.038Z"},"containers":{"cna":{"title":"mcp-server-git: nested gitdir file bypasses --repository restriction","descriptions":[{"lang":"en","value":"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":[{"vendor":"Anthropic","product":"mcp-server-git","packageURL":"pkg:pypi/mcp-server-git","repo":"https://github.com/modelcontextprotocol/servers","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"2026.10.28","status":"affected","versionType":"custom"}]}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory"}]}],"references":[{"url":"https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-w766-5x43-whvw","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"vectorString":"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","version":"4.0","baseScore":5.8,"baseSeverity":"MEDIUM"}}],"credits":[{"lang":"en","type":"finder","value":"ShieldPi (@ShieldPi1)"}],"providerMetadata":{"orgId":"98a01053-8a31-4f6d-9aa9-252be161adc6","shortName":"Anthropic","dateUpdated":"2026-11-23T16:00:22.038Z"}}}}