BigBadAI

GHSA-rvq5-wwqv-78pq

MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service

Published Oct 20, 2026 · Source: GitHub Advisory Database (via OSV.dev). Data collected Sat, 28 Nov 2026 19:06:22 GMT.

The facts

Advisory idGHSA-rvq5-wwqv-78pq
CVECVE-2026-111771
Package
@modelcontextprotocol/sdk npm: @modelcontextprotocol/sdk
PublishedOct 20, 2026
Source severityMODERATE
Our severitymedium · 50 Advisory severity: MODERATE · Confidence: GitHub Advisory Database / OSV · See the rules
FixFixed in 1.32.0
SourceGitHub Advisory Database (via OSV.dev)

Summary AI summary

Open-source package @modelcontextprotocol/sdk accepts unauthorized bearer tokens from other services.

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 `requireBearerAuth()` or `verifyBearerToken()`, its authorization server also issues tokens for other services, and your `verifyAccessToken()` does not check the token's audience (`aud`) itself. Affected versions: - `@modelcontextprotocol/sdk` 1.6.0 through

Open the full source →

What to do

Update to version 1.32.0 or later to resolve the issue.

Other recent advisories for this package

  • GHSA-f897-62hf-6gxq · Oct 27, 2026 · MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
  • GHSA-46jr-4wx8-v453 · Oct 20, 2026 · MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
  • GHSA-22jm-h49p-29qw · Oct 20, 2026 · MCP TypeScript SDK: Experimental tasks were not tied to the session that created them
  • GHSA-6prh-2h8m-c8cw · Oct 20, 2026 · MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies
  • GHSA-6qxp-vccf-f47h · Oct 6, 2026 · MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server

All advisories →

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 .