Intel

AIKIDO-2026-10735

fastmcp is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 5, 2026
May 5, 2026

60

CVE Score

Medium

Exposure of Sensitive Information to an Unauthorized Actor

Are you affected? Scan for Free

TL;DR

Affected versions of this package unconditionally forward the inbound Authorization header when StreamableHttpTransport or SSETransport connects a session, even for standalone clients used inside server tool handlers. An attacker who invokes a tool that makes outbound requests to another MCP server may cause the credentials to be leaked to that unrelated server, potentially triggering request failures, unintended authentication context reuse, or unauthorized access if the downstream service accepts the leaked token.

How do I fix this?

Upgrade the fastmcp library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

3.0.0 - 3.2.3

Fixed in 3.2.4

Background info

fastmcp is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 3.0.0 - 3.2.3.

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