<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T19:57:32.565230+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-32871</id>
    <title>CVE-2026-32871 — FastMCP OpenAPI Provider has an SSRF &amp; Path Traversal Vulnerability</title>
    <updated>2026-10-01T19:57:32.614030+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PrefectHQ fastmcp, Red Hat Satellite 6.18, Red Hat OpenShift AI (RHOAI)</p>
<p>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 _build_url() 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.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-32871"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-vv7q-7jx5-f767</id>
    <title>GHSA-vv7q-7jx5-f767 — FastMCP OpenAPI Provider has an SSRF &amp; Path Traversal Vulnerability</title>
    <updated>2026-10-01T19:57:32.614177+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: fastmcp</p>
<p>## Technical Description</p>
<p>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.</p>
<p>A critical vulnerability exists in the `_build_url()` 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.</p>
<p>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.</p>
<p>---</p>
<p>## Vulnerable Code</p>
<p>**File:** `fastmcp/utilities/openapi/director.py`</p>
<p>```python
def _build_url(
    self, path_template: str, path_params: dict[str, Any], base_url: str
) -&gt; str:
    # Direct string substitution without encoding
    url_path = path_template
    for param_name, param_value in path_params.items():
        placeholder = f"{{{param_name}}}"
        if placeholder in url_path:
            url_path = url_path.replace(placeholder, str(param_value))</p>
<p># urljoin resolves ../ escape sequences
    return urljoin(base_url.rstrip("/") + "/", url_path.lstrip("/"))
```</p>
<p>### Root Cause</p>
<p>1. Pat…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-vv7q-7jx5-f767"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-338</id>
    <title>PYSEC-2026-338 — FastMCP OpenAPI Provider has an SSRF &amp; Path Traversal Vulnerability</title>
    <updated>2026-10-01T19:57:32.614308+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: fastmcp</p>
<p>## Technical Description</p>
<p>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.</p>
<p>A critical vulnerability exists in the `_build_url()` 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.</p>
<p>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.</p>
<p>---
 
## Vulnerable Code</p>
<p>**File:** `fastmcp/utilities/openapi/director.py`</p>
<p>```python
 def _build_url(
    self, path_template: str, path_params: dict[str, Any], base_url: str
) -&gt; str:
    # Direct string substitution without encoding
    url_path = path_template
    for param_name, param_value in path_params.items():
        placeholder = f"{{{param_name}}}"
        if placeholder in url_path:
            url_path = url_path.replace(placeholder, str(param_value))</p>
<p># urljoin resolves ../ escape sequences
    return urljoin(base_url.rstrip("/" ) + "/", url_path.lstrip("/"))
```</p>
<p>### Root Cause</p>
<p>1.…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-338"/>
  </entry>
</feed>
