Intel

AIKIDO-2026-10735

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

Exposure of Sensitive Information to an Unauthorized Actor Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 5, 2026

60

Medium Risk

This Affects:

PYTHONfastmcp
3.0.0 - 3.2.3
Fixed in 3.2.4
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.

Who does this affect?

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

Background info

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

How to fix this

Upgrade the fastmcp library to the patch version.