All vulnerabilities

PyPI

CVE-2026-115563

Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server

Severity
High 7.5
Published
19 Nov 2026
Last changed
19 Nov 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 26% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Insufficient verification of data authenticity (CWE-345)Insufficiently protected credentials (CWE-522)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Also known as
GHSA-qx49-fqc8-xw99
Sources
OSV.dev and GitHub

Description

In affected versions, the SDK's OAuth client support (mcp.client.auth) let the MCP server a client connected to decide where the client's OAuth credentials were sent:

  • the authorization server metadata issuer was not validated on every discovery path, and
  • stored or pre-provisioned client credentials were not bound to the authorization server they belong to.

A malicious or compromised MCP server could therefore direct them to a token endpoint of its choosing:

  • by naming its own authorization server in its protected resource metadata, or
  • by publishing none and serving metadata that presents the user's real authorization server as the issuer.

It would then receive the client_secret, authorization code and PKCE code_verifier meant for that real server (or, with PrivateKeyJWTOAuthProvider, a signed client assertion).

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
mcpPyPI · osv:PyPI:mcp
  • From 1.9.1 before 1.30.0
  • From 2.0.0a1 before 2.2.0

About mcp

Weekly downloads (PyPI)
81,015,080PyPI Stats, 23 Nov 2026

References