fastmcp OpenAPI provider | Critical || Field | Value |
|---|---|
| CVE / NVD | CVE-2026-32871 |
| EPSS score | 0.009880000 (FIRST EPSS, 2026-06-30) |
| Date (index) | 2026-04-02 |
| Affected product (index) | FastMCP OpenAPI Provider (SSRF + path traversal via unencoded path params) |
| GHSA ID | GHSA-vv7q-7jx5-f767 |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | 2026-04-02 |
| Ecosystem | PyPI |
| Component | fastmcp OpenAPI provider |
| CVSS score | 10 CRITICAL CVSS v3.1 (NVD) |
| CWE | CWE-918 |
| Affected versions | < 3.2.0 |
| Fixed versions | 3.2.0 |
| Fix status | Patched |
| Exploit status | Public advisory |
FastMCP’s OpenAPI provider can construct outbound requests using attacker-controlled path parameter values without proper encoding/validation, which can enable SSRF and path traversal behavior in URL construction.
Improper encoding/validation of user-controlled path parameters during URL building (often combined with URL joining semantics that treat ../ as traversal).
OpenAPI providers are commonly used as “tool wrappers” for internal APIs. SSRF in this layer can grant an MCP client unintended access to internal endpoints using the provider’s authentication context.
Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.
The fix should ensure path parameters are safely encoded and/or validated before being joined into outbound request URLs, preventing traversal and SSRF via crafted values.
fastmcp 3.2.0 or later.A public advisory exists; a PoC link is not captured in this repository yet.
< 3.2.0.../) or unexpected host/path rewriting.