CVE-2026-111771
published medium CVSS 3.1 · 6.8Model Context Protocol TypeScript SDK: Server bearer authentication accepted tokens issued for another service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| modelcontextprotocol | — | typescript-sdk>= 1.6.0, < 1.32.0 | Affected | Not stated | GitHub_M |
| @modelcontextprotocol | — | sdk>= 1.6.0, < 1.32.0 | Affected | Not stated | GitHub_M |
| @modelcontextprotocol | — | server>= 2.0.0, < 2.3.0 | Affected | Not stated | GitHub_M |
| @modelcontextprotocol | — | express>= 2.0.0, < 2.0.2 | Affected | Not stated | GitHub_M |
| @modelcontextprotocol | — | server-legacy>= 2.0.0, < 2.3.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| modelcontextprotocol | typescript-sdk | >= 1.6.0, < 1.32.0 (affected) | GitHub_M · cna |
| @modelcontextprotocol | sdk | >= 1.6.0, < 1.32.0 (affected) | GitHub_M · cna |
| @modelcontextprotocol | server | >= 2.0.0, < 2.3.0 (affected) | GitHub_M · cna |
| @modelcontextprotocol | express | >= 2.0.0, < 2.0.2 (affected) | GitHub_M · cna |
| @modelcontextprotocol | server-legacy | >= 2.0.0, < 2.3.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-863 CWE-863: Incorrect Authorization
References
11- https://github.com/modelcontextprotocol/typescript-sdk/commit/40f8f4e229d963cd7fd2890bda2aeebe7005299a
- https://github.com/modelcontextprotocol/typescript-sdk/commit/5a0724d14cf34a27a3b070224d2996cdd611df9f
- https://github.com/modelcontextprotocol/typescript-sdk/commit/5a1867390b91b8836f49af76c45427279f513325
- https://github.com/modelcontextprotocol/typescript-sdk/pull/2929
- https://github.com/modelcontextprotocol/typescript-sdk/pull/2930
- https://github.com/modelcontextprotocol/typescript-sdk/pull/2952
- https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/1.32.0
- https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/@modelcontextprotocol/[email protected]
- https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/@modelcontextprotocol/[email protected]
- https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/@modelcontextprotocol/[email protected]
- https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-rvq5-wwqv-78pq
Provider assertions
2GitHub_M · cna
Model Context Protocol TypeScript SDK: Server bearer authentication accepted tokens issued for another service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e8875fd2493eab2883cf476553b21aead1d31869454a68a6c98b7f2f3f2b097b
- Ingested
- 10 Nov 2026, 04:25:47 UTC
- Source record
- Official CVE record