GHSA-w4fh-qvv9-3v23
Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
Published Oct 27, 2026 · Source: GitHub Advisory Database (via OSV.dev). Data collected Sat, 28 Nov 2026 19:06:22 GMT.
The facts
| Advisory id | GHSA-w4fh-qvv9-3v23 |
|---|---|
| CVE | CVE-2026-116684 |
| Package | mcp (Python SDK) PyPI: mcp |
| Published | Oct 27, 2026 |
| Source severity | MODERATE |
| Our severity | medium · 50 Advisory severity: MODERATE · Confidence: GitHub Advisory Database / OSV · See the rules |
| Fix | Fixed in 1.30.0 |
| Source | GitHub Advisory Database (via OSV.dev) |
Summary AI summary
Open-source package mcp Python SDK has a security vulnerability where it accepts bearer tokens issued for a different resource server.
Excerpt from the source
Copied from the official record, trimmed. Read the full source before acting.
### Summary 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. ### Am I affected? Yes, if your HTTP server uses the SDK's bearer authentication (`auth=AuthSettings(...)` with `token_verifier=`), its authorization server also issues tokens for other services, and your `TokenVerifier` does not check the token's audience (`aud`) itself. Affected versions: - `mcp` 1.10.0
What to do
Update the mcp package to version 1.30.0 or later to fix the vulnerability.
Other recent advisories for this package
- GHSA-qx49-fqc8-xw99 · Nov 19, 2026 · Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- GHSA-5h93-6whr-6q8j · Oct 27, 2026 · Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies
- GHSA-rwrf-2pqf-9j8j · Oct 27, 2026 · Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
- GHSA-84m7-p3x7-pcfv · Oct 15, 2026 · MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
This page restates a public advisory. Confirm the facts on the linked source before you act. BigBadAI is independent and not affiliated with the package authors. Data collected .