Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-116686 EUVD-2026-111366GHSA-rwrf-2pqf-9j8j

Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas

Published Oct 27, 2026 · Updated Oct 28, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
modelcontextprotocol python-sdk >= 1.10.0, < 1.30.0, >= 2.0.0, < 2.2.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mcp >= 2.0.0, < 2.2.0 2.2.0 GHSA-rwrf-2pqf-9j8j
PyPI mcp >= 1.10.0, < 1.30.0 1.30.0 GHSA-rwrf-2pqf-9j8j

References