Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
Summary
| CVE | CVE-2026-116686 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-27 20:17:13 UTC |
| Updated | 2026-10-27 20:17:13 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Problem Types: CWE-918 | CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Modelcontextprotocol | Python-sdk | affected >= 1.10.0, < 1.30.0 | Not specified |
| CNA | Modelcontextprotocol | Python-sdk | affected >= 2.0.0, < 2.2.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/modelcontextprotocol/python-sdk/pull/3396 | [email protected] | github.com | |
| github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0 | [email protected] | github.com | |
| github.com/modelcontextprotocol/python-sdk/commit/6705402e246dc4eb1fcdf4... | [email protected] | github.com | |
| github.com/modelcontextprotocol/python-sdk/pull/3394 | [email protected] | github.com | |
| github.com/modelcontextprotocol/python-sdk/commit/5ebdfed4060d8e5b11b8e2... | [email protected] | github.com | |
| github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-rwrf... | [email protected] | github.com | |
| github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.