Skip to main content
← Vulnerabilities

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

6.8MediumCNA
Exploited
No known exploitation
Fix
Fixed in typescript-sdk 1.32.0 · sdk 1.32.0 · server 2.3.0 · express 2.0.2 · server-legacy 2.3.1
Who is exposed
Not reported

Do first: Upgrade to a fixed version: typescript-sdk 1.32.0 · sdk 1.32.0 · server 2.3.0 · express 2.0.2 · server-legacy 2.3.1.

Published
Last modified
10/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

The Model Context Protocol TypeScript SDK's server-side HTTP bearer authentication can accept a valid access token issued for a different service because it does not enforce the token audience. An attacker over the network who holds such a token can authenticate to the MCP server and gain the confidentiality and integrity capabilities granted to an authenticated caller.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original 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.

cve.now Index

10Pcve.now Index 10 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure3/25Reachable over the network · Unknown: No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity6.8/10CVSS 6.8
  • No patch0/5No signal

What would change the score

  • Would score about 65 if added to CISA KEV
  • Would score about 60 if CISA's SSVC rates exploitation active
  • Would score about 29 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: typescript-sdk 1.32.0 · sdk 1.32.0 · server 2.3.0 · express 2.0.2 · server-legacy 2.3.1.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • modelcontextprotocol typescript-sdk

    From 1.6.0 · fixed in 1.32.0

  • @modelcontextprotocol sdk

    From 1.6.0 · fixed in 1.32.0

  • @modelcontextprotocol server

    From 2.0.0 · fixed in 2.3.0

  • @modelcontextprotocol express

    From 2.0.0 · fixed in 2.0.2

  • @modelcontextprotocol server-legacy

    From 2.0.0 · fixed in 2.3.1

Evidence 11

  1. Advisory
  2. Repository
  3. Repository
  4. Repository
  5. Repository
Show all 11 sourcesShow fewer sources
  1. Repository
  2. Repository
  3. Repository
  4. Repository
  5. Repository
  6. Repository

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-111771

Is CVE-2026-111771 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-111771?

typescript-sdk: from 1.6.0 before 1.32.0. sdk: from 1.6.0 before 1.32.0. server: from 2.0.0 before 2.3.0. express: from 2.0.0 before 2.0.2. server-legacy: from 2.0.0 before 2.3.1.Source: cve.now feed data

How do I fix CVE-2026-111771?

Upgrade to a fixed version: typescript-sdk 1.32.0 · sdk 1.32.0 · server 2.3.0 · express 2.0.2 · server-legacy 2.3.1.Source: cve.now feed data