Public vulnerability disclosure

CVE-2026-111771

Model Context Protocol TypeScript SDK: Server bearer authentication accepted tokens issued for another service

publishedCWE-863

The Model Context Protocol TypeScript SDK provides TypeScript client and server implementations of the Model Context Protocol. From 1.6.0 until 1.32.0 in @modelcontextprotocol/sdk, from 2.0.0 until 2.3.0 in @modelcontextprotocol/server, from 2.0.0 until 2.0.2 in @modelcontextprotocol/express, and from 2.0.0 until 2.3.1 in @modelcontextprotocol/server-legacy, server-side bearer authentication could accept a valid access token issued for a different service because the SDK did not enforce the token audience. The affected surface is server-side HTTP bearer authentication. The trigger is a valid token whose audience names another service. The authorization server must issue tokens for multiple services, and the application's verifyAccessToken() must not independently validate aud. Applications already validating aud inside verifyAccessToken() are not affected. An attacker with a token for another service could authenticate to the MCP server and obtain the confidentiality and integrity capabilities granted to an authenticated caller. Upgrading alone leaves the new audience validation disabled. Operators must enable audience validation and provide the token audience together. Enabling only the expected audience check causes every request to receive HTTP 401. This issue is fixed in @modelcontextprotocol/sdk 1.32.0, @modelcontextprotocol/server 2.3.0, @modelcontextprotocol/express 2.0.2, and @modelcontextprotocol/server-legacy 2.3.1.

Technical severity6.8 mediumCVSS 3.1 · CNA: GitHub_M
Published2026-11-05Source updated 2026-11-10
Collected2026-11-105 attributed sources

Fixes and workarounds

Fix

@modelcontextprotocol/sdk (npm): GitHub reports patched versions 1.32.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-rvq5-wwqv-78pq

Fix

@modelcontextprotocol/server (npm): GitHub reports patched versions 2.3.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-rvq5-wwqv-78pq

Fix

@modelcontextprotocol/express (npm): GitHub reports patched versions 2.0.2. Check the advisory for the affected release branch.

Source: GitHub GHSA-rvq5-wwqv-78pq

Fix

@modelcontextprotocol/server-legacy (npm): GitHub reports patched versions 2.3.1. Check the advisory for the affected release branch.

Source: GitHub GHSA-rvq5-wwqv-78pq

Fix

@modelcontextprotocol/sdk (npm): OSV reports a fixed version 1.32.0. Check the advisory for supported release branches.

Source: OSV GHSA-rvq5-wwqv-78pq

Fix

@modelcontextprotocol/server (npm): OSV reports a fixed version 2.3.0. Check the advisory for supported release branches.

Source: OSV GHSA-rvq5-wwqv-78pq

Fix

@modelcontextprotocol/express (npm): OSV reports a fixed version 2.0.2. Check the advisory for supported release branches.

Source: OSV GHSA-rvq5-wwqv-78pq

Fix

@modelcontextprotocol/server-legacy (npm): OSV reports a fixed version 2.3.1. Check the advisory for supported release branches.

Source: OSV GHSA-rvq5-wwqv-78pq

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
typescript-sdk
modelcontextprotocol
>= 1.6.0, < 1.32.0 (affected) CNA: GitHub_M
sdk
@modelcontextprotocol
>= 1.6.0, < 1.32.0 (affected) CNA: GitHub_M
server
@modelcontextprotocol
>= 2.0.0, < 2.3.0 (affected) CNA: GitHub_M
express
@modelcontextprotocol
>= 2.0.0, < 2.0.2 (affected) CNA: GitHub_M
server-legacy
@modelcontextprotocol
>= 2.0.0, < 2.3.1 (affected) CNA: GitHub_M
@modelcontextprotocol/sdk

@modelcontextprotocol/sdk
npm
>= 1.6.0, < 1.32.0 (affected, GitHub advisory range) GitHub GHSA-rvq5-wwqv-78pq
@modelcontextprotocol/server

@modelcontextprotocol/server
npm
>= 2.0.0, < 2.3.0 (affected, GitHub advisory range) GitHub GHSA-rvq5-wwqv-78pq
@modelcontextprotocol/express

@modelcontextprotocol/express
npm
>= 2.0.0, < 2.0.2 (affected, GitHub advisory range) GitHub GHSA-rvq5-wwqv-78pq
@modelcontextprotocol/server-legacy

@modelcontextprotocol/server-legacy
npm
>= 2.0.0, < 2.3.1 (affected, GitHub advisory range) GitHub GHSA-rvq5-wwqv-78pq
@modelcontextprotocol/sdk

@modelcontextprotocol/sdk
npm
≥ 1.6.0; < 1.32.0 (affected, semver); OSV events: introduced 1.6.0; fixed 1.32.0
Source events (semver)
[
  {
    "introduced": "1.6.0"
  },
  {
    "fixed": "1.32.0"
  }
]

Other versions: unaffected
OSV GHSA-rvq5-wwqv-78pq
@modelcontextprotocol/server

@modelcontextprotocol/server
npm
≥ 2.0.0; < 2.3.0 (affected, semver); OSV events: introduced 2.0.0; fixed 2.3.0
Source events (semver)
[
  {
    "introduced": "2.0.0"
  },
  {
    "fixed": "2.3.0"
  }
]

Other versions: unaffected
OSV GHSA-rvq5-wwqv-78pq
@modelcontextprotocol/express

@modelcontextprotocol/express
npm
≥ 2.0.0; < 2.0.2 (affected, semver); OSV events: introduced 2.0.0; fixed 2.0.2
Source events (semver)
[
  {
    "introduced": "2.0.0"
  },
  {
    "fixed": "2.0.2"
  }
]

Other versions: unaffected
OSV GHSA-rvq5-wwqv-78pq
@modelcontextprotocol/server-legacy

@modelcontextprotocol/server-legacy
npm
≥ 2.0.0; < 2.3.1 (affected, semver); OSV events: introduced 2.0.0; fixed 2.3.1
Source events (semver)
[
  {
    "introduced": "2.0.0"
  },
  {
    "fixed": "2.3.1"
  }
]

Other versions: unaffected
OSV GHSA-rvq5-wwqv-78pq

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 6.8
medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NCNA: GitHub_M
3.1 / 6.8
medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide