Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
CVE-2026-116686Published 27 Oct 2026, 19:29 UTC
Real-world risk
2.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients. From 1.10.0 until 1.30.0 and 2.2.0, ClientSession, ClientSessionGroup, and Client tool calls validate server-declared outputSchema documents with jsonschema's default resolver, causing an unresolved $ref value to fetch an HTTP, HTTPS, or file URL from the client's network and filesystem context. A server can trigger blind requests or local-file reads and can stall every session in the process because resolution runs synchronously on the event loop without a timeout. This issue is fixed in versions 1.30.0 and 2.2.0.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| python-sdkNiche | >= 1.10.0, < 1.30.0; >= 2.0.0, < 2.2.0 | 1.30.0, 2.2.0 |
What to do
Update to a fixed version: 1.30.0, 2.2.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 31), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.7 × threat 0.852.380
- Rounded to one decimal between 0.1 and 102.4
Exploitation and evidence timeline
- 27 Oct 2026 Published
- 3 Dec 2026 Risk 2.4 (cvss fallback)
Weakness
CWE-918
References
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-rwrf-2pqf-9j8jvendor-advisory
- https://github.com/modelcontextprotocol/python-sdk/pull/3394misc
- https://github.com/modelcontextprotocol/python-sdk/pull/3396misc
- https://github.com/modelcontextprotocol/python-sdk/commit/5ebdfed4060d8e5b11b8e2348f86bad4d1fb8836misc
- https://github.com/modelcontextprotocol/python-sdk/commit/6705402e246dc4eb1fcdf4d9902b78d3c9c36e1bmisc
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0misc
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0misc
- CVE-2026-116686 on CVE.org