{"id":"CVE-2026-134465","aliases":["CVE-2026-134465"],"related":[],"kind":"vulnerability","state":"published","title":"mcp-server-git: nested gitdir file bypasses --repository restriction","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-23T16:00:22.038Z","modified":"2026-11-24T17:18:16.763Z","severity":{"scorer":"Anthropic","scheme":"CVSS:4.0","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","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"Anthropic","scheme":"CVSS:4.0","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","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2026.10.28","status":"affected"}],"vendor":"Anthropic","product":"mcp-server-git","repo":"https://github.com/modelcontextprotocol/servers","source":"cvelist"}],"references":[{"url":"https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-w766-5x43-whvw","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["ShieldPi (@ShieldPi1)"],"assigner":"Anthropic","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-24T17:05:03.551Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-134465","url":"https://www.cve.org/CVERecord?id=CVE-2026-134465","licence":"CVE Terms of Use","modified":"2026-11-24T17:06:07.157Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-134465","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134465","licence":"Public domain","modified":"2026-11-24T17:18:16.763Z"}],"updatedAt":"2026-11-25T22:59:52.655Z","epss":{"score":0.00415,"percentile":0.37802,"date":"2026-12-01T12:00:22.000Z"}}