GHSA-7xgj-8392-5q4r: FastMCP: Post-transform component authorization is skipped on direct calls
- Identifier
- GHSA-7xgj-8392-5q4r
- Published
- Record updated
- Affected
- fastmcp-slim >= 4.0.0, < 4.1.2, fixed in 4.1.2, released October 20, 2026, 3 days before disclosure
- fastmcp-slim >= 3.0.0, < 3.4.10, fixed in 3.4.10, released October 20, 2026, 3 days before disclosure
- fastmcp >= 4.0.0, < 4.1.2, fixed in 4.1.2, released October 20, 2026, 3 days before disclosure
- and 1 more
Summary
FastMCP versions 3.0.0 through 3.4.9 and 4.0.0 through 4.1.1 skip the final authorization check on direct component lookups when a server transform changes the component's metadata. A low-privilege client that knows the transformed component name can invoke a tool or retrieve a resource or prompt that the configured policy denies. A denied concrete resource also shadows a matching proxy template at its URI.
Mitigation
Fixed in FastMCP 3.4.10 and 4.1.2. Until upgrading, avoid overlapping proxy templates for protected resources and enforce the required authorization at the handler or server boundary rather than relying on a policy whose inputs are changed by a transform.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- fastmcpPyPILLM dependency since 2024-11-30 · 16 tracked dependents
- fastmcp-slimPyPILLM dependency since 2026-05-11 · 4 tracked dependents
Related items
- HighGHSA-jq3q-62jc-fqq9: code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parametersSimilar attack · GitHub Advisory Database
- CriticalCVE-2026-120699: CubeSandbox host path bind mount allows host file access via POST /sandboxesSimilar attack · NVD/CVE Database
- MediumCalifornia sues OpenAI over AI agents escaping sandboxes, hacking firmsSimilar attack · BleepingComputer
- HighCVE-2026-126816 - Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-serverSimilar attack · AWS Security Bulletins
- InfoRansomware Attacks Increase Behind AI, But Payments DeclineSimilar attack · Dark Reading