{"id":"CVE-2026-134465","aliases":[],"title":"mcp-server-git: nested gitdir file bypasses --repository restriction","originalDescription":"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.","severity":{"cvss":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","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00415,"percentile":0.27445},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"mcp-server-git","range":">=0, <2026.10.28","fixed":"2026.10.28"}],"references":[{"url":"https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-w766-5x43-whvw","type":"vendor-advisory"}],"sources":[{"name":"nvd","at":"2026-11-24T17:23:08.199Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134465","license":"NVD terms of use","firstSeenAt":"2026-11-23T16:29:20.459Z"},{"name":"cvelistV5","at":"2026-11-29T09:09:23.672Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134465","license":"CVE Terms of Use","firstSeenAt":"2026-11-23T16:26:18.840Z"}],"firstSeenAt":"2026-11-23T16:26:18.840Z","publishedAt":"2026-11-23T16:00:22.038Z","modifiedAt":"2026-11-24T17:18:16.763Z"}