Skip to content
RedCVE

CVE-2026-111771Modelcontextprotocol Typescript-sdk incorrect authorization

modelcontextprotocolPublished:

CVSS score

6.8

Medium

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.54%

0.54% chance of exploitation in the next 30 days, higher than 46.4% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running modelcontextprotocol Typescript-sdk, modelcontextprotocol Sdk, modelcontextprotocol Server-legacy, modelcontextprotocol Express and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Typescript-sdk, Sdk to 1.32.0 or later.
    • Update Server to 2.3.0, 2.3.1 or later, on the branch you run.
    • Update Express to 2.0.2 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected products

Affected productsVersions
modelcontextprotocol Typescript-sdk>= 1.6.0, < 1.32.0
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

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-111771 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-111771?

CVE-2026-111771 has a CVSS 3.1 base score of 6.8 (medium).

Which versions are affected?

Modelcontextprotocol Typescript-sdk (>= 1.6.0, < 1.32.0), 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 patch for CVE-2026-111771?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.