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

Published Oct 27, 2026
·
Updated

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 Software

1 affected component
pypi/mcp>=1.10.0<1.30.0, >=2.0.0<2.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Model Context Protocol Python SDK to a version that resolves this vulnerability.

    Fixed in 1.30.0
  2. Upgrade

    Upgrade Model Context Protocol Python SDK to a version that resolves this vulnerability.

    Fixed in 2.2.0

Event History

Oct 27, 2026
CVE Published
via MITRE·07:29 PM
Data Sourced
via MITRE·07:29 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using the MCP Python SDK's ClientSession, ClientSessionGroup, or Client tool calls are exposed when they process a server-declared outputSchema containing an unresolved $ref. The affected versions are 1.10.0 through versions before 1.30.0, and 2.2.0.

2

What does an attacker need to exploit this?

An attacker needs to operate or control an MCP server that can provide a tool output schema to the client. No client privileges are required, but exploitation requires a user to interact with the malicious server or otherwise cause the client to make its tool call.

3

What can the malicious server cause the client to do?

It can cause the client to resolve a $ref by requesting HTTP or HTTPS URLs reachable from the client's network context, or by reading file URLs from the client's filesystem context. Resolution is synchronous and has no timeout, so it can also stall every session in the process.

4

How can I remediate this issue?

Upgrade to MCP Python SDK version 1.30.0 or 2.2.0. If upgrading is not immediately possible, avoid connecting affected clients to untrusted MCP servers or servers whose tool output schemas cannot be trusted.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203