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.
Published: 2026-10-27
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: Unauthorized access due to improper audience validation
Action: Patch SDK
AI Analysis

Impact

The Model Context Protocol Python SDK contains a flaw in its server-side bearer authentication routine. The token_verifier accepts a bearer token that was issued for a different resource server because the verifier does not independently validate the token’s audience claim (aud). This flaw allows a token holder to authenticate to an unintended MCP server, thereby gaining the permissions associated with that token on the wrong server. The impact is the unauthorized access, potentially exposing data or operations governed by that resource server. The weakness is identified as a resource level misconfiguration in access control.

Affected Systems

The issue affects releases of the SDK from version 1.10.0 up to but not including 1.30.0 and also older 2.x releases prior to 2.2.0. The securityfix was incorporated in the 1.30.0 release and the 2.2.0 release. Any users of the 1.x series before 1.30.0 or the 2.x series before 2.2.0 are exposed.

Risk and Exploitability

The CVSS score of 6.8 indicates a serious but not critical severity. Exploit probability information (EPSS) is not available, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is token replay across resource servers. An adversary with a valid token for one resource can simply use that token against a different MCP server without needing additional credentials. If the target server grants broad access or handles sensitive data, the compromise can be severe. The absence of mandatory audience validation is the definitive vulnerability that makes this attack feasible.

Generated by OpenCVE AI on October 27, 2026 at 20:39 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the SDK to version 1.30.0 or later
  • Upgrade to version 2.2.0 or later if you are using the 2.x series
  • Verify that the token_verifier now checks the audience claim before allowing authentication

Generated by OpenCVE AI on October 27, 2026 at 20:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-w4fh-qvv9-3v23 Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
History

Tue, 27 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Modelcontextprotocol
Modelcontextprotocol python-sdk
Vendors & Products Modelcontextprotocol
Modelcontextprotocol python-sdk

Tue, 27 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N'}


Subscriptions

Modelcontextprotocol Python-sdk
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-27T19:12:24.255Z

Reserved: 2026-10-26T20:00:59.829Z

Link: CVE-2026-116684

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T20:17:13.307

Modified: 2026-10-27T20:17:13.307

Link: CVE-2026-116684

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T20:45:08Z

Weaknesses