CVE-2026-134465
MEDIUM 5.8CVSS 4.0mcp-server-git: nested gitdir file bypasses --repository restriction
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.
- Published
- 23 Nov 2026
- Last modified
- 24 Nov 2026
- Assigned by
- 98a01053-8a31-4f6d-9aa9-252be161adc6
- NVD status
- Awaiting Analysis
- Weakness
- CWE-22
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 98a01053-8a31-4f6d-9aa9-252be161adc6 (Secondary) | CVSS 4.0 | MEDIUM 5.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | Anthropic | CVSS 4.0 | MEDIUM 5.8 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Anthropic | mcp-server-git | < 2026.10.28 | 2026.10.28 |
References
- https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-w766-5x43-whvw · vendor-advisory
History
- 25 Nov 2026 20:37 UTC · CVE List: first stored (published 23 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 23 Nov 2026)