mediumresolved

MCP TypeScript server accepts bearer tokens for another service

Server authentication can accept a valid token without establishing that the token was issued for this MCP resource. Deployments using a shared authorization server need an explicit audience check as well as the maintained SDK versions.

Server authentication can accept a valid token without establishing that the token was issued for this MCP resource. Deployments using a shared authorization server need an explicit audience check as well as the maintained SDK versions.

This is a maintainer-documented vulnerability disclosure, not evidence of exploitation against a named customer. Affected ranges: @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. The maintainer lists patched releases: @modelcontextprotocol/express 2.0.2; @modelcontextprotocol/sdk 1.32.0; @modelcontextprotocol/server 2.3.0; @modelcontextprotocol/server-legacy 2.3.1.

Takeaway

Check the deployed package and its configuration against the advisory. Apply the listed fix on a supported release line and verify the trust boundary with an untrusted client or repository.

Sources

mcptsghsa-rvq5-wwqv-78pqCVE-2026-111771