PyPI
CVE-2026-116686
Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
- Severity
- Medium 6.5
- Published
- 27 Oct 2026
- Last changed
- 27 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.30.0, 2.2.0
- Exploit chance
- 0.3% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H- Also known as
- GHSA-rwrf-2pqf-9j8j
- Sources
- OSV.dev and GitHub
Description
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 synchronously on the event loop with no timeout, so a target that accepted the connection and then went quiet froze every session in the process for as long as it held the connection.
Affected software
| Software | Affected versions |
|---|---|
mcpPyPI · osv:PyPI:mcp |
|
About mcp
- Weekly downloads (PyPI)
- 81,015,080PyPI Stats, 23 Nov 2026
Vulnerabilities in mcp
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-115563Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverHigh 7.5 19 Nov 2026
- CVE-2026-116684Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource serverMedium 6.8 27 Oct 2026
- CVE-2026-116685Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodiesMedium 5.9 27 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116686
- GitHub Advisory Database https://github.com/advisories/GHSA-rwrf-2pqf-9j8j