Intel

AIKIDO-2026-821108

mcp is vulnerable to Insufficiently Protected Credentials

CVE-2026-115563Published Oct 7, 2026
October 7, 2026

75

CVE Score

High

Insufficiently Protected Credentials

Are you affected? Scan for Free

TL;DR

The OAuth client support in mcp.client.auth does not validate the authorization server metadata issuer on every discovery path and does not bind stored or pre-provisioned client credentials to a specific authorization server. A connected MCP server can name its own token endpoint, or present itself as the user's real authorization server, and receive the client's client_secret, authorization code, and PKCE code_verifier, or a signed client assertion. The fix validates the issuer on every discovery path and binds credentials to the authorization server they belong to.

How do I fix this?

Upgrade the mcp library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the SDK as an MCP client with OAuth support (OAuthClientProvider, ClientCredentialsOAuthProvider, PrivateKeyJWTOAuthProvider, or the deprecated RFC7523OAuthClientProvider) while holding credentials for a legitimate authorization server.

Package

Versions

1.9.1 - 1.29.1

Fixed in 1.30.0

2.0.0 - 2.1.1

Fixed in 2.2.0

Background info

mcp is vulnerable to Insufficiently Protected Credentials in versions 1.9.1 - 1.29.1 and 2.0.0 - 2.1.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea