{"affected":[{"defaultStatus":"unaffected","ecosystem":"pypi","packageName":"mcp-server-git","product":"mcp-server-git","source":"CNA: Anthropic","vendor":"Anthropic","versions":[{"lessThan":"2026.10.28","status":"affected","version":"0","versionType":"custom"}]}],"cveId":"CVE-2026-134465","cwes":["CWE-22"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.8,"severity":"medium","source":"CNA: Anthropic","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","version":"4.0"}],"modifiedAt":1795449622038,"publishedAt":1795449622038,"references":[{"source":"CNA: Anthropic","tags":["vendor-advisory"],"url":"https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-w766-5x43-whvw"}],"remediation":[],"revision":"d138491d82902e2d3abbcbc82662464db6df130ae8adacbaaf030228acef1426","sources":[{"modifiedAt":1795449622038,"name":"CNA: Anthropic","retrievedAt":1795450193195,"url":"https://www.cve.org/CVERecord?id=CVE-2026-134465"}],"ssvc":null,"status":"published","title":"mcp-server-git: nested gitdir file bypasses --repository restriction","updatedAt":1795450193195}