mcp-server-git: nested gitdir file bypasses --repository restriction
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Anthropic | mcp-server-git | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Anthropic | Mcp-server-git |
|
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.415% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Anthropic
Anthropic mcp-server-git |
|
| Vendors & Products |
Anthropic
Anthropic mcp-server-git |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | mcp-server-git: nested gitdir file bypasses --repository restriction | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|