Insufficiently Protected Credentials Affecting mcp package, versions [1.9.1,1.30.0)[2.0.0a1,2.2.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (18th percentile)

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 IDSNYK-PYTHON-MCP-22733193
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditAviral Srivastava, Alex Melan, Ali Sadeghi, Maryam Rostamipoor, Yuval Elbar, yuvalelbar, Roni Gurvich, Mahmoud Albustan

Introduced: 19 Nov 2026

NewCVE-2026-115563  (opens in a new tab)
CWE-522  (opens in a new tab)

How to fix?

Upgrade mcp to version 1.30.0, 2.2.0 or higher.

Overview

mcp is a Model Context Protocol SDK

Affected versions of this package are vulnerable to Insufficiently Protected Credentials via mcp.client.auth, where the OAuth client allows a malicious or compromised MCP server to direct the client's credentials to an authorization server of its choosing. The authorization server metadata issuer is not validated on every discovery path, and stored or pre-provisioned client credentials are not bound to the authorization server they belong to. A malicious MCP server can exploit this by naming its own authorization server in its protected resource metadata, or by serving metadata that presents the user's real authorization server as the issuer, causing the client to send the client_secret, authorization code, PKCE code_verifier, or a signed client assertion (PrivateKeyJWTOAuthProvider) to the attacker-controlled endpoint.

CVSS Base Scores

version 4.0
version 3.1