CVE-2026-115563
CVE-2026-115563 · Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
CVSS 7.5 · Alta · EPSS 0,3% · Código de explotación público · Corrección disponible
Compara con tu versión instalada
Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.
- python-sdkSin corrección publicada
- mcp PyPIActualiza a 2.2.0
Comprueba la versión instalada:
pip show mcpEvalúa los riesgos de tu servidor
La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.
La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.
curl -fsSL https://patchfirst.dev/check.sh | shLos canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients. From 1.9.1 until 1.30.0 and 2.2.0, OAuth client support in mcp.client.auth can send credentials to an authorization server chosen by an untrusted MCP server. ClientCredentialsOAuthProvider and PrivateKeyJWTOAuthProvider cannot identify the authorization server that owns their credentials. Affected HTTP clients using those providers, OAuthClientProvider, or the deprecated 1.x RFC7523OAuthClientProvider can disclose a client_secret, authorization code, PKCE code_verifier, or signed client assertion. MCP servers, stdio clients, and clients that attach their own tokens or headers are not affected. Interactive OAuthClientProvider use requires a person to start sign-in, while the unattended providers do not. For ClientCredentialsOAuthProvider and PrivateKeyJWTOAuthProvider, callers must configure issuer= after upgrading because omission still follows the MCP server's advertised authorization server, and the deprecated RFC7523OAuthClientProvider must be replaced because it has no issuer option. A stored client registration without an issuer remains unbound after upgrading, so stored OAuth client information must be cleared once to register again or a manually pre-registered record must be updated with its issuer. This issue is fixed in versions 1.30.0 and 2.2.0.
- Publicación
- Actualización
Pila tecnológica: python
Productos y versiones afectados
python-sdk
- Versiones
- >= 1.9.1, < 1.30.0: Afectada
- >= 2.0.0a1, < 2.2.0: Afectada
Sin corrección publicada
mcp PyPI
- Versiones
- 2.0.0
- 2.0.0a1
- 2.0.0a2
- 2.0.0a3
- 2.0.0b1
- 2.0.0b2
Todas las versiones (10)
- 2.0.0rc1
- 2.0.1
- 2.1.0
- 2.1.1
- Intervalos de versiones afectados
- ECOSYSTEM: ≥ 2.0.0a1, < 2.2.0
Actualiza a 2.2.0
mcp PyPI
- Versiones
- 1.10.0
- 1.10.1
- 1.11.0
- 1.12.0
- 1.12.1
- 1.12.2
Todas las versiones (40)
- 1.12.3
- 1.12.4
- 1.13.0
- 1.13.1
- 1.14.0
- 1.14.1
- 1.15.0
- 1.16.0
- 1.17.0
- 1.18.0
- 1.19.0
- 1.20.0
- 1.21.0
- 1.21.1
- 1.21.2
- 1.22.0
- 1.23.0
- 1.23.1
- 1.23.2
- 1.23.3
- 1.24.0
- 1.25.0
- 1.26.0
- 1.27.0
- 1.27.1
- 1.27.2
- 1.28.0
- 1.28.1
- 1.29.0
- 1.29.1
- 1.9.1
- 1.9.2
- 1.9.3
- 1.9.4
- Intervalos de versiones afectados
- ECOSYSTEM: ≥ 1.9.1, < 1.30.0
Actualiza a 1.30.0
Fuentes originales
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-qx49-fqc8-xw99
- https://github.com/modelcontextprotocol/python-sdk/pull/3398
- https://github.com/modelcontextprotocol/python-sdk/pull/3431
- https://github.com/modelcontextprotocol/python-sdk/pull/3435
- https://github.com/modelcontextprotocol/python-sdk/commit/3eed7ce0a6aba76e8d94c4cfb9b266f41935392c
- https://github.com/modelcontextprotocol/python-sdk/commit/979208c1157661eac0151f90974a1f96528003fa
- https://github.com/modelcontextprotocol/python-sdk/commit/d060b36e1d095ef6e93e07ba5d59bb69b2ad449a
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-115563