Skip to content
MediumVulnerability

CVE-2026-134465: mcp-server-git --repository restriction bypass through nested gitdir pointer

Identifier
CVE-2026-134465
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

In mcp-server-git before 2026.10.28, the --repository restriction can be bypassed. A nested directory containing a .git file with a gitdir pointer to a repository outside the allowed path lets a caller read committed content from that outside repository and create branches in it. The caller must be able to invoke the server's tools, place such a file in the allowed tree, and know the outside repository's path.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.