Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-111771

MEDIUM 6.8EPSS 43%

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

Also known as GHSA-rvq5-wwqv-78pq

Mitigation

  • Upgrade @modelcontextprotocol/sdk to 1.32.0 or later.
  • Upgrade @modelcontextprotocol/server to 2.3.0 or later.
  • Upgrade @modelcontextprotocol/express to 2.0.2 or later.
  • Upgrade @modelcontextprotocol/server-legacy to 2.3.1 or later.

Who should check

  • Projects that depend on npm package @modelcontextprotocol/sdk (>= 1.6.0, < 1.32.0)
  • Projects that depend on npm package @modelcontextprotocol/server (>= 2.0.0, < 2.3.0)
  • Projects that depend on npm package @modelcontextprotocol/express (>= 2.0.0, < 2.0.2)
  • Projects that depend on npm package @modelcontextprotocol/server-legacy (>= 2.0.0, < 2.3.1)
  • Anyone running modelcontextprotocol typescript-sdk >= 1.6.0, < 1.32.0
  • Anyone running @modelcontextprotocol sdk >= 1.6.0, < 1.32.0
  • Anyone running @modelcontextprotocol server >= 2.0.0, < 2.3.0
  • Anyone running @modelcontextprotocol express >= 2.0.0, < 2.0.2

Vulnerability facts

Affected
@modelcontextprotocol/sdk >= 1.6.0, < 1.32.0; @modelcontextprotocol/server >= 2.0.0, < 2.3.0; @modelcontextprotocol/express >= 2.0.0, < 2.0.2; @modelcontextprotocol/server-legacy >= 2.0.0, < 2.3.1
Fixed in
1.32.0, 2.3.0, 2.0.2, 2.3.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
6.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
EPSS
0.60% chance of exploitation in 30 days (percentile 43, 2026-11-26)
CWE
CWE-863
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm @modelcontextprotocol/sdk>= 1.6.0, < 1.32.01.32.0osv
npm @modelcontextprotocol/server>= 2.0.0, < 2.3.02.3.0osv
npm @modelcontextprotocol/express>= 2.0.0, < 2.0.22.0.2osv
npm @modelcontextprotocol/server-legacy>= 2.0.0, < 2.3.12.3.1osv
modelcontextprotocol typescript-sdk>= 1.6.0, < 1.32.0—cvelist
@modelcontextprotocol sdk>= 1.6.0, < 1.32.0—cvelist
@modelcontextprotocol server>= 2.0.0, < 2.3.0—cvelist
@modelcontextprotocol express>= 2.0.0, < 2.0.2—cvelist
@modelcontextprotocol server-legacy>= 2.0.0, < 2.3.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-111771. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-111771.md
Affected: @modelcontextprotocol/sdk >= 1.6.0, < 1.32.0; @modelcontextprotocol/server >= 2.0.0, < 2.3.0; @modelcontextprotocol/express >= 2.0.0, < 2.0.2; @modelcontextprotocol/server-legacy >= 2.0.0, < 2.3.1
Fixed in: 1.32.0, 2.3.0, 2.0.2, 2.3.1

Steps:
1. Search this machine and project for @modelcontextprotocol/sdk (npm), @modelcontextprotocol/server (npm), @modelcontextprotocol/express (npm), @modelcontextprotocol/server-legacy (npm), modelcontextprotocol typescript-sdk, @modelcontextprotocol sdk: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-111771 being exploited?

There is no confirmed exploitation: CVE-2026-111771 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.60% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-111771?

Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-111771?

@modelcontextprotocol/sdk >= 1.6.0, < 1.32.0; @modelcontextprotocol/server >= 2.0.0, < 2.3.0; @modelcontextprotocol/express >= 2.0.0, < 2.0.2; @modelcontextprotocol/server-legacy >= 2.0.0, < 2.3.1.

Is there a fix for CVE-2026-111771?

Yes. Fixed in 1.32.0, 2.3.0, 2.0.2, 2.3.1. Upgrade @modelcontextprotocol/sdk to 1.32.0 or later. Upgrade @modelcontextprotocol/server to 2.3.0 or later. Upgrade @modelcontextprotocol/express to 2.0.2 or later. Upgrade @modelcontextprotocol/server-legacy to 2.3.1 or later.

How do I check if I'm affected by CVE-2026-111771?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors