BigBadAI

GHSA-6qxp-vccf-f47h

MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server

Published Oct 6, 2026 · Source: GitHub Advisory Database (via OSV.dev). Data collected Sat, 28 Nov 2026 19:06:22 GMT.

The facts

Advisory idGHSA-6qxp-vccf-f47h
CVECVE-2026-104850
Package
@modelcontextprotocol/sdk npm: @modelcontextprotocol/sdk
PublishedOct 6, 2026
Source severityHIGH
Our severityhigh · 70 Advisory severity: HIGH · Confidence: GitHub Advisory Database / OSV · See the rules
FixFixed in 1.31.0
SourceGitHub Advisory Database (via OSV.dev)

Summary AI summary

Open-source package @modelcontextprotocol/sdk's OAuth client sends credentials to an authorization server chosen by the MCP server, potentially exposing client secrets.

Excerpt from the source

Copied from the official record, trimmed. Read the full source before acting.

### Summary In affected versions, the SDK's OAuth client let the MCP server decide which authorization server received the client's OAuth credentials. Credentials were not tied to the authorization server they belong to. A malicious or compromised MCP server could name its own authorization server. With no user interaction, the client would send it: - the `refresh_token` and `client_secret` stored from an earlier sign-in - the `client_secret` or signed assertion configured on a bundled provider ### Am I affected? Yes, if both of these hold: - your application uses the SDK's OAuth client over H

Open the full source →

What to do

Update to version 1.31.0 or later to fix the vulnerability.

Other recent advisories for this package

  • GHSA-f897-62hf-6gxq · Oct 27, 2026 · MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
  • GHSA-46jr-4wx8-v453 · Oct 20, 2026 · MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
  • GHSA-rvq5-wwqv-78pq · Oct 20, 2026 · MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service
  • GHSA-22jm-h49p-29qw · Oct 20, 2026 · MCP TypeScript SDK: Experimental tasks were not tied to the session that created them
  • GHSA-6prh-2h8m-c8cw · Oct 20, 2026 · MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies

All advisories →

This page restates a public advisory. Confirm the facts on the linked source before you act. BigBadAI is independent and not affiliated with the package authors. Data collected .