# CVE-2025-68143: mcp-server-git's unrestricted git\_init tool allows repository creation at arbitrary filesystem locations

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-17 · Modified: 2025-12-18
- Aliases: GHSA-5cgr-j3jf-jw3v, PYSEC-2026-1621
- Record: https://cvemate.com/vulnerability/CVE-2025-68143 · JSON: https://cvemate.com/vulnerability/CVE-2025-68143/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 8.704%, percentile 95.272%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- lfprojects model\_context\_protocol\_servers: \< 2025.9.25
- modelcontextprotocol servers: \< 2025.9.25
- PyPI mcp-server-git (PyPI): \< 2025.9.25

## References

- <https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-5cgr-j3jf-jw3v>
- <https://github.com/modelcontextprotocol/servers/commit/eac56e7bcde48fb64d5a973924d05d69a7d876e6>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68143>
- <https://github.com/modelcontextprotocol/servers>
- <https://pypi.org/project/mcp-server-git>
- <https://github.com/advisories/GHSA-5cgr-j3jf-jw3v>

---

Data as of 2026-12-05T05:36:57.928Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
