GHSA-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 · Source: GitHub Advisory Database (via OSV.dev). Data collected Sat, 28 Nov 2026 19:06:22 GMT.
The facts
| Advisory id | GHSA-rwrf-2pqf-9j8j |
|---|---|
| CVE | CVE-2026-116686 |
| Package | mcp (Python SDK) PyPI: mcp |
| Published | Oct 27, 2026 |
| Source severity | MODERATE |
| Our severity | medium · 50 Advisory severity: MODERATE · Confidence: GitHub Advisory Database / OSV · See the rules |
| Fix | Fixed in 1.30.0 |
| Source | GitHub Advisory Database (via OSV.dev) |
Summary AI summary
Open-source package mcp's Python SDK fetched server-chosen URLs while validating tool results, affecting users of version 1.29.9 and below.
Excerpt from the source
Copied from the official record, trimmed. Read the full source before acting.
### Summary In affected versions, when a connected MCP server declared an `outputSchema` for a tool, the SDK's client validated each `call_tool` result with `jsonschema`'s default resolver, which fetches any `$ref` it cannot resolve locally by opening the URL. A server could therefore put an `http://`, `https://` or `file://` reference in a tool's output schema and make the client: - request that URL, or read that local file, from the client's own network position on every call of the tool (the content was used only as a schema and never sent back to the server), and - stall: the fetch ran syn
What to do
Update to version 1.30.0 or later to resolve the issue.
Other recent advisories for this package
- GHSA-qx49-fqc8-xw99 · Nov 19, 2026 · Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- GHSA-w4fh-qvv9-3v23 · Oct 27, 2026 · Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
- GHSA-5h93-6whr-6q8j · Oct 27, 2026 · Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies
- GHSA-84m7-p3x7-pcfv · Oct 15, 2026 · MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
This page restates a public advisory. Confirm the facts on the linked source before you act. BigBadAI is independent and not affiliated with the package authors. Data collected .