Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-32871

FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Back to all
CVE

CVE-2026-32871

FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability

FastMCP is a Pythonic way to build MCP servers and clients. Prior to version 3.2.0, the OpenAPIProvider in FastMCP exposes internal APIs to MCP clients by parsing OpenAPI specifications. The RequestDirector class is responsible for constructing HTTP requests to the backend service. A vulnerability exists in the buildurl() method. When an OpenAPI operation defines path parameters (e.g., /api/v1/users/{user_id}), the system directly substitutes parameter values into the URL template string without URL-encoding. Subsequently, urllib.parse.urljoin() resolves the final URL. Since urljoin() interprets ../ sequences as directory traversal, an attacker controlling a path parameter can perform path traversal attacks to escape the intended API prefix and access arbitrary backend endpoints. This results in authenticated SSRF, as requests are sent with the authorization headers configured in the MCP provider. This issue has been patched in version 3.2.0.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
10
-
4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Related Resources

No items found.

References

https://github.com/PrefectHQ/fastmcp/releases/tag/v3.2.0, https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32871.json, https://access.redhat.com/errata/RHSA-2026:36350, https://access.redhat.com/security/cve/CVE-2026-32871, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32871.json, https://github.com/PrefectHQ/fastmcp/security/advisories/GHSA-vv7q-7jx5-f767, https://nvd.nist.gov/vuln/detail/CVE-2026-32871, https://bugzilla.redhat.com/show_bug.cgi?id=2454434, https://github.com/PrefectHQ/fastmcp/commit/40bdfb6b1de0ce30609ee9ba5bb95ecd04a9fb71, https://github.com/PrefectHQ/fastmcp/pull/3507

Severity

0

CVSS Score
0
10

Basic Information

Base CVSS
0
EPSS Probability
0.01369%
EPSS Percentile
0.70812%
Introduced Version
0
Fix Available
40bdfb6b1de0ce30609ee9ba5bb95ecd04a9fb71,0.23.0-r0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading