CVE-2025-68143
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mcp-server-gitPyPI | < 2025.9.25 | 2025.9.25 |
Affected products
2- cpe:2.3:a:lfprojects:model_context_protocol_servers:*:*:*:*:*:*:*:*Range: <2025.9.25
Patches
Vulnerability mechanics
References
4- github.com/modelcontextprotocol/servers/commit/eac56e7bcde48fb64d5a973924d05d69a7d876e6nvdPatchWEB
- github.com/advisories/GHSA-5cgr-j3jf-jw3vghsaADVISORY
- github.com/modelcontextprotocol/servers/security/advisories/GHSA-5cgr-j3jf-jw3vnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-68143ghsaADVISORY
News mentions
0No linked articles in our index yet.