All vulnerabilities

PyPI

CVE-2026-116684

Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server

Severity
Medium 6.8
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.4% in the next 30 daysHigher than 30% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Also known as
GHSA-w4fh-qvv9-3v23
Sources
OSV.dev and GitHub

Description

In affected versions, the SDK's server-side bearer authentication had no way to check that a token was issued for your server (its audience). Where one authorization server issues tokens for several services, a valid token for another service was also accepted by your MCP server.

From the GitHub Advisory Database, CC BY 4.0.

Affected software

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

About mcp

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

References