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.
https://www.securityweek.com/anthropic-mcp-server-flaws-lead-to-code-execution-data-exposure/
https://www.theregister.com/2026/01/20/anthropic_prompt_injection_flaws/
https://www.infosecurity-magazine.com/news/prompt-injection-bugs-anthropic/
https://thehackernews.com/2026/01/three-flaws-in-anthropic-mcp-git-server.html
https://github.com/mcp-guard76/mcp-guard
https://github.com/Mybodycare/skills-mcps-all-in-one-panel
https://github.com/mattschaller/eslint-plugin-mcp-security
https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-5cgr-j3jf-jw3v
https://github.com/modelcontextprotocol/servers/commit/eac56e7bcde48fb64d5a973924d05d69a7d876e6
Published: 2025-12-17
Updated: 2026-09-30
Base Score: 10
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C
Severity: Critical
Base Score: 8.8
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Severity: High
Base Score: 6.5
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
Severity: Medium
EPSS: 0.00063