Skip to content
EventPast event

MCP TypeScript SDK missing token audience validation

1 reports1 reporting sourcesLatest report

Start here

AI overview

A GitHub security advisory disclosed that the server-side bearer authentication of the MCP TypeScript SDK in affected versions does not validate the token's audience, causing valid tokens issued by an authorization server for other services to also be accepted by the MCP server. Affected versions include before @modelcontextprotocol/sdk 1.32.0, before @modelcontextprotocol/server 2.3.0, before @modelcontextprotocol/express 2.0.2, and others.

Generated by AI from reports · Updated 2026-10-21

Storyline

Developments on the same subject and issue, from earliest to latest

7 events
  1. · 3 reports· Attention44
    MCP TypeScript SDK fixes redirect and OAuth credential flaws
  2. · 1 reports· Attention42
    MCP TypeScript SDK cross-origin redirect leaks request headers and request body
  3. · 1 reports· Attention35
    MCP TypeScript SDK fixes task authorization vulnerability
  4. · 1 reports· Attention41

    MCP TypeScript SDK missing token audience validationThis event

  5. · 2 reports· Attention41
    MCP TypeScript SDK exposed to memory exhaustion vulnerability
  6. · 1 reports· Attention45
    MCP TypeScript SDK cross-client message leakage vulnerability
  7. · 3 reports· Attention42
    MCP Python SDK vulnerability: issuer still must be passed after upgrade

Progress timeline

Oct 21
  1. GitHub Security AdvisoriesSelected
    MCP TypeScript SDK server-side bearer authentication accepts tokens issued for other services

    The MCP TypeScript SDK's server-side bearer authentication does not validate the token's audience in affected versions, so valid tokens issued by the authorization server for other services are also accepted by the MCP server. Affected versions include versions before @modelcontextprotocol/sdk 1.32.0, before @modelcontextprotocol/server 2.3.0, before @modelcontextprotocol/express 2.0.2, and before @modelcontextprotocol/server-legacy 2.3.1. If upgrading is not possible, tokens whose aud does not contain this service can be rejected in verifyAccessToken().