Open Redirect Affecting @modelcontextprotocol/sdk package, versions <1.32.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MODELCONTEXTPROTOCOLSDK-21369530
  • published21 Oct 2026
  • disclosed20 Oct 2026
  • creditNikhil Kumar

Introduced: 20 Oct 2026

NewCVE-2026-111769  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade @modelcontextprotocol/sdk to version 1.32.0 or higher.

Overview

@modelcontextprotocol/sdk is a Model Context Protocol implementation for TypeScript

Affected versions of this package are vulnerable to Open Redirect via unconstrained redirect-following in the HTTP fetch layer used by auth.ts, sse.ts, and streamableHttp.ts. When the client performs OAuth metadata discovery, token requests, or client registration, it follows HTTP redirects without verifying that the redirect destination remains within the original request's origin. An attacker who can interpose a redirect response (for example, through a compromised or malicious server) can cause the client to send authentication credentials, OAuth tokens, or other sensitive headers to an attacker-controlled origin, resulting in credential exfiltration and limited request forgery.

CVSS Base Scores

version 4.0
version 3.1