Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server (modelcontextprotocol python-sdk)

CVE-2026-116684
MEDIUM 6.8

At a glance

Source
NVD
EPSS
EPSS 0.39 % · percentile 36 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
Affected products
modelcontextprotocol · python-sdk
NVD status
Awaiting Analysis

Description

The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients. From 1.10.0 until 1.30.0 and 2.2.0, server-side bearer authentication configured through AuthSettings with token_verifier accepts a valid token issued for another service when the authorization server serves multiple resources and the TokenVerifier does not independently validate the aud audience. This resource-confusion flaw lets a token holder authenticate to the wrong MCP server and exercise that token's resulting access. This issue is fixed in versions 1.30.0 and 2.2.0.

Weaknesses (CWE)

  • CWE-863 — Incorrect Authorization

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NGitHub_M
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NNVD · security-advisories@github.com (Secondary)

Advisories

European references

Affected products

ProductAffected versions
modelcontextprotocol · python-sdk
affected : >= 1.10.0, < 1.30.0
affected : >= 2.0.0, < 2.2.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD