mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| modelcontextprotocol | servers | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Modelcontextprotocol | Servers | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5cgr-j3jf-jw3v | mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 8.1% (8.134% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Lfprojects
Lfprojects model Context Protocol Servers |
|
| CPEs | cpe:2.3:a:lfprojects:model_context_protocol_servers:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Lfprojects
Lfprojects model Context Protocol Servers |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Modelcontextprotocol
Modelcontextprotocol servers |
|
| Vendors & Products |
Modelcontextprotocol
Modelcontextprotocol servers |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2025.9.25, the git_init tool accepted arbitrary filesystem paths and created Git repositories without validating the target location. Unlike other tools which required an existing repository, git_init could operate on any directory accessible to the server process, making those directories eligible for subsequent git operations. The tool was removed entirely, as the server is intended to operate on existing repositories only. Users are advised to upgrade to 2025.9.25 or newer to remediate this issue. | |
| Title | mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|