Skip to main content
VulnerabilityPublished

CVE-2026-111771: MCP TypeScript SDK · Server bearer authentication accepted tokens issued for another service

Affects @modelcontextprotocol/sdkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-111771· Medium 6.8

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

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npm@modelcontextprotocol/sdkAffected
  • >=1.6.0 <1.32.0
Fixed in
  • 1.32.0
npm@modelcontextprotocol/serverAffected
  • >=2.0.0 <2.3.0
Fixed in
  • 2.3.0
npm@modelcontextprotocol/expressAffected
  • >=2.0.0 <2.0.2
Fixed in
  • 2.0.2
npm@modelcontextprotocol/server-legacyAffected
  • >=2.0.0 <2.3.1
Fixed in
  • 2.3.1

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

Community reviews

Loading reviews…