FastMCP: Post-transform component authorization is skipped on direct calls
Affects fastmcpSource GCVE Database
CVSS 6.8 Medium : upgrade to 4.1.2 when convenient.
Data as of 30 Oct 2026, 10:15 UTC
- Patch
- Available – fixed in 4.1.2
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NWhat to do
Upgrade fastmcp to 4.1.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewfastmcppkg:brew/fastmcpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the available fixes by upgrading to FastMCP versions 3.4.10 or 4.1.2, which enforce authorization after all transforms. Until upgrading, avoid configurations with overlapping proxy templates for protected resources and enforce authorization at the handler or server boundary rather than relying solely on component policies affected by transforms.
Description
FastMCP versions 3.0.0 through 4.1.1 have an authorization bypass vulnerability where direct calls to transformed components skip the final authorization check. This allows low-privilege users to invoke protected tools, resources, templates, or prompts that should be denied. The issue arises because transforms are applied before authorization, but the authorization check is not re-applied to the transformed component. Fixes are available in FastMCP 3.4.10 and 4.1.2.
References
- github.com/PrefectHQ/fastmcp/security/advisories/GHSA-7xgj-8392-5q4r (opens in a new tab)
- github.com/PrefectHQ/fastmcp/pull/5933 (opens in a new tab)
- github.com/PrefectHQ/fastmcp/pull/5934 (opens in a new tab)
- github.com/PrefectHQ/fastmcp/commit/85df42fbf2aa631cc81e0f986718b314128e91df (opens in a new tab)
- github.com/PrefectHQ/fastmcp/commit/8649ba5fc91a68568a69729497edeb804a064332 (opens in a new tab)
- github.com/PrefectHQ/fastmcp (opens in a new tab)
- github.com/PrefectHQ/fastmcp/releases/tag/v3.4.10 (opens in a new tab)
- github.com/PrefectHQ/fastmcp/releases/tag/v4.1.2 (opens in a new tab)