Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| modelcontextprotocolpython-sdk | — | Not listed |
| pipmcp |
< 1.30.0→ 1.30.0 |
1.30.0 |
| PyPImcp |
≥ 1.10.0, < 1.30.0→ 1.30.0 |
1.30.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com
- web github.com