Modelcontextprotocol vulnerabilities, page 3
54 vulnerabilities
Known vulnerabilities in Modelcontextprotocol products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 24 products.
PrioritiseCVE-2026-27896modelcontextprotocol · go-sdk +44 moreMCP Go SDK Vulnerable to Improper Handling of Case SensitivityThe Go MCP SDK used Go's standard encoding/json.Unmarshal for JSON-RPC and MCP protocol message parsing in versions prior to 1.3.1. Go's standard library performs case-insensitive matching of JSON keys to struct field tags — a field tagged json:"method" would also match "Method", "METHOD", etc. This violated the JSON-RPC 2.0 specification, which defines exact field names. A malicious MCP peer may have been able to send protocol messages with non-standard field casing that the SDK would silently accept. This had the potential for bypassing intermediary inspection and coss-implementation inconsistency. Go's standard JSON unmarshaling was replaced with a case-sensitive decoder in commit 7b8d81c. Users are advised to update to v1.3.1 to resolve this issue.CVSS7.5HighEPSS0.30%RoutineCVE-2026-27735modelcontextprotocol · servers +2 moremcp-server-git : Path traversal in git_add allows staging files outside repository boundariesModel Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2026.1.14, the git_add tool did not validate that file paths provided in the files argument were within the repository boundaries. Because the tool used GitPython's repo.index.add() rather than the Git CLI, relative paths containing `../` sequences that resolve outside the repository were accepted and staged into the Git index. Users are advised to upgrade to 2026.1.14 or newer to remediate this issue.CVSS6.5MediumEPSS0.35%RoutineCVE-2026-25536modelcontextprotocol · typescript-sdk +16 more@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuseMCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. From version 1.10.0 to 1.25.3, cross-client response data leak when a single McpServer/Server and transport instance is reused across multiple client connections, most commonly in stateless StreamableHTTPServerTransport deployments. This issue has been patched in version 1.26.0.CVSS7.1HighEPSS0.29%RoutineCVE-2025-68145modelcontextprotocol · servers +2 moremcp-server-git has missing path validation when using --repository flagIn mcp-server-git versions prior to 2025.12.17, when the server is started with the --repository flag to restrict operations to a specific repository path, it did not validate that repo_path arguments in subsequent tool calls were actually within that configured path. This could allow tool calls to operate on other repositories accessible to the server process. The fix adds path validation that resolves both the configured repository and the requested path (following symlinks) and verifies the requested path is within the allowed repository before executing any git operations. Users are advised to upgrade to 2025.12.17 upon release to remediate this issue.CVSS9.1CriticalEPSS7.53%RoutineCVE-2025-68144modelcontextprotocol · servers +2 moremcp-server-git argument injection in git_diff and git_checkout functions allows overwriting local filesIn mcp-server-git versions prior to 2025.12.17, the git_diff and git_checkout functions passed user-controlled arguments directly to git CLI commands without sanitization. Flag-like values (e.g., `--output=/path/to/file` for `git_diff`) would be interpreted as command-line options rather than git refs, enabling arbitrary file overwrites. The fix adds validation that rejects arguments starting with - and verifies the argument resolves to a valid git ref via rev_parse before execution. Users are advised to update to 2025.12.17 resolve this issue when it is released.CVSS7.1HighEPSS7.72%RoutineCVE-2025-68143modelcontextprotocol · servers +2 moremcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locationsModel 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.CVSS8.8HighEPSS8.70%RoutineCVE-2025-66416modelcontextprotocol · python-sdk +8 moreDNS Rebinding Protection Disabled by Default in Model Context Protocol Python SDK for Servers Running on LocalhostThe MCP Python SDK, called `mcp` on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.23.0, tThe Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default for HTTP-based servers. When an HTTP-based MCP server is run on localhost without authentication using FastMCP with streamable HTTP or SSE transport, and has not configured TransportSecuritySettings, a malicious website could exploit DNS rebinding to bypass same-origin policy restrictions and send requests to the local MCP server. This could allow an attacker to invoke tools or access resources exposed by the MCP server on behalf of the user in those limited circumstances. Note that running HTTP-based MCP servers locally without authentication is not recommended per MCP security best practices. This issue does not affect servers using stdio transport. This vulnerability is fixed in 1.23.0.CVSS8.1HighEPSS0.54%RoutineCVE-2025-66414modelcontextprotocol · typescript-sdk +46 moreDNS Rebinding Protection Disabled by Default in Model Context Protocol TypeScript SDK for Servers Running on LocalhostMCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. Prior to 1.24.0, The Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default for HTTP-based servers. When an HTTP-based MCP server is run on localhost without authentication with StreamableHTTPServerTransport or SSEServerTransport and has not enabled enableDnsRebindingProtection, a malicious website could exploit DNS rebinding to bypass same-origin policy restrictions and send requests to the local MCP server. This could allow an attacker to invoke tools or access resources exposed by the MCP server on behalf of the user in those limited circumstances. Note that running HTTP-based MCP servers locally without authentication is not recommended per MCP security best practices. This issue does not affect servers using stdio transport. This vulnerability is fixed in 1.24.0.CVSS8.1HighEPSS0.54%RoutineCVE-2025-58444modelcontextprotocol · inspector +1 moreMCP Inspector is Vulnerable to Potential Command Execution via XSS When Connecting to an Untrusted MCP ServerThe MCP inspector is a developer tool for testing and debugging MCP servers. A cross-site scripting issue was reported in versions of the MCP Inspector local development tool prior to 0.16.6 when connecting to untrusted remote MCP servers with a malicious redirect URI. This could be leveraged to interact directly with the inspector proxy to trigger arbitrary command execution. Users are advised to update to 0.16.6 to resolve this issue.CVSS8.6HighEPSS0.76%PrioritiseCVE-2025-53366modelcontextprotocol · python-sdk +1 moreMCP SDK Vulnerable to FastMCP Server Validation Error, Leading to Denial of ServiceThe MCP Python SDK, called `mcp` on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.9.4, a validation error in the MCP SDK can cause an unhandled exception when processing malformed requests, resulting in service unavailability (500 errors) until manually restarted. Impact may vary depending on the deployment conditions, and presence of infrastructure-level resilience measures. Version 1.9.4 contains a patch for the issue.CVSS8.7HighEPSS10.16%PrioritiseCVE-2025-53365modelcontextprotocol · python-sdk +1 moreMCP Python SDK has Unhandled Exception in Streamable HTTP Transport ,Leading to Denial of ServiceThe MCP Python SDK, called `mcp` on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.10.0, if a client deliberately triggers an exception after establishing a streamable HTTP session, this can lead to an uncaught ClosedResourceError on the server side, causing the server to crash and requiring a restart to restore service. Impact may vary depending on the deployment conditions, and presence of infrastructure-level resilience measures. Version 1.10.0 contains a patch for the issue.CVSS8.7HighEPSS0.46%RoutineCVE-2025-53109modelcontextprotocol · servers +1 moreModel Context Protocol Servers Vulnerable to Path Validation Bypass via Prefix Matching and Symlink HandlingModel Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). Versions of Filesystem prior to 0.6.4 or 2025.7.01 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 0.6.4 or 2025.7.01 resolve.CVSS7.3HighEPSS0.77%RoutineCVE-2025-53110modelcontextprotocol · servers +1 moreModel Context Protocol Servers Vulnerable to Path Validation Bypass via Colliding Path PrefixModel Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). Versions of Filesystem prior to 0.6.4 or 2025.7.01 could allow access to unintended files in cases where the prefix matches an allowed directory. Users are advised to upgrade to 0.6.4 or 2025.7.01 resolve.CVSS7.3HighEPSS0.58%PrioritiseCVE-2025-49596modelcontextprotocol · inspector +1 moreMCP Inspector proxy server lacks authentication between the Inspector client and proxyThe MCP inspector is a developer tool for testing and debugging MCP servers. Versions of MCP Inspector below 0.14.1 are vulnerable to remote code execution due to lack of authentication between the Inspector client and proxy, allowing unauthenticated requests to launch MCP commands over stdio. Users should immediately upgrade to version 0.14.1 or later to address these vulnerabilities.CVSS9.4CriticalEPSS40.22%