CVE-2026-111771: MCP TypeScript SDK · Server bearer authentication accepted tokens issued for another service
Affects @modelcontextprotocol/sdkSource GCVE Database
Not known to be exploited · CVSS 6.8 Medium : upgrade to 1.32.0 when convenient.
Data as of 3 Dec 2026, 18:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.8 |
|---|
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.32.0, 2.3.0, 2.0.2 +1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@modelcontextprotocol/sdk | Affected
| Fixed in
|
| npm@modelcontextprotocol/server | Affected
| Fixed in
|
| npm@modelcontextprotocol/express | Affected
| Fixed in
|
| npm@modelcontextprotocol/server-legacy | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in the specified versions: upgrade to @modelcontextprotocol/sdk 1.32.0 or later, @modelcontextprotocol/server 2.3.0 or later, @modelcontextprotocol/express 2.0.2 or later, and @modelcontextprotocol/server-legacy 2.3.1 or later. After upgrading, enable the audience check by passing the expectedResource URL to requireBearerAuth(). Without enabling this setting, the fix does not enforce audience validation. If upgrading is not possible immediately, implement a manual check inside verifyAccessToken() to reject tokens whose aud claim does not include the expected audience. This manual mitigation closes the issue on all versions.
Description
The MCP TypeScript SDK versions prior to specified patched releases accept bearer tokens issued for other services due to lack of audience (aud) validation in server-side authentication. This allows tokens valid for one service to be accepted by another MCP server using the SDK, if the authorization server issues tokens for multiple services. The issue affects multiple MCP SDK and server packages in versions before 1.32.0, 2.3.0, 2.0.2, and 2.3.1 respectively. A fix is available that adds an optional expectedResource setting to enforce audience validation, which must be enabled explicitly. Without enabling this setting or applying a custom audience check, the vulnerability remains exploitable.
References
- github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-rvq5-wwqv-78pq (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk/commit/40f8f4e229d963cd7fd2890bda2aeebe7005299a (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk/commit/5a0724d14cf34a27a3b070224d2996cdd611df9f (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk/commit/5a1867390b91b8836f49af76c45427279f513325 (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk (opens in a new tab)