Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-w766-5x
- https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-w766-5x
FAQ
What is CVE-2026-134465?
CVE-2026-134465 is a documented vulnerability. 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...
How severe is CVE-2026-134465?
CVSS scoring is not yet available for CVE-2026-134465. Check NVD for updates.
Is there a patch for CVE-2026-134465?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.