mcp · Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output
Affects mcpSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium : upgrade to 2.2.0 when convenient.
Data as of 27 Oct 2026, 22:27 UTC
- Patch
- Available – fixed in 2.2.0, 1.30.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade mcp to 2.2.0; mcp to 1.30.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPImcp | Affected
| Fixed in
|
| PyPImcp | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade the MCP Python SDK to version 1.30.0 (1.x) or 2.2.0 (2.x) or later, where the client no longer performs network or file access during schema validation. Until upgrading, only call tools on servers you fully trust. As a partial workaround, avoid calling tools whose outputSchema contains an $id or any $ref/$dynamicRef that does not start with '#'.
Description
The Model Context Protocol (MCP) Python SDK versions 1.10.0 through 1.29.1 and 2.0.0 through 2.1.1 contain a vulnerability where the client fetches server-chosen $ref URLs during tool result validation. This allows a malicious server to cause the client to make network or local file requests synchronously without timeout, potentially freezing the client session. The issue is fixed in versions 1.30.0 and 2.2.0.
References
- github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-rwrf-2pqf-9j8j (opens in a new tab)
- github.com/modelcontextprotocol/python-sdk/pull/3394 (opens in a new tab)
- github.com/modelcontextprotocol/python-sdk/pull/3396 (opens in a new tab)
- github.com/modelcontextprotocol/python-sdk/commit/5ebdfed4060d8e5b11b8e2348f86bad4d1fb8836 (opens in a new tab)
- github.com/modelcontextprotocol/python-sdk/commit/6705402e246dc4eb1fcdf4d9902b78d3c9c36e1b (opens in a new tab)
- github.com/modelcontextprotocol/python-sdk (opens in a new tab)
- github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0 (opens in a new tab)
- github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0 (opens in a new tab)