<?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-02T09:42:51.689461+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-2025-64340</id>
    <title>CVE-2025-64340 — FastMCP has a Command Injection vulnerability - Gemini CLI</title>
    <updated>2026-10-02T09:42:51.743558+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> jlowin fastmcp</p>
<p>FastMCP is the standard framework for building MCP applications. Prior to version 3.2.0, server names containing shell metacharacters (e.g., &amp;) can cause command injection on Windows when passed to fastmcp install claude-code or fastmcp install gemini-cli. These install paths use subprocess.run() with a list argument, but on Windows the target CLIs often resolve to .cmd wrappers that are executed through cmd.exe, which interprets metacharacters in the flattened command string. This issue has been patched in version 3.2.0.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-64340"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-m8x7-r2rg-vh5g</id>
    <title>GHSA-m8x7-r2rg-vh5g — FastMCP has a Command Injection vulnerability - Gemini CLI</title>
    <updated>2026-10-02T09:42:51.743689+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: fastmcp</p>
<p>Server names containing shell metacharacters (e.g., `&amp;`) can cause command injection on Windows when passed to `fastmcp install claude-code` or `fastmcp install gemini-cli`. These install paths use `subprocess.run()` with a list argument, but on Windows the target CLIs often resolve to `.cmd` wrappers that are executed through `cmd.exe`, which interprets metacharacters in the flattened command string.</p>
<p>PoC:
```python
from fastmcp import FastMCP</p>
<p>mcp = FastMCP(name="test&amp;calc")</p>
<p>@mcp.tool
def roll_dice(n_dice: int) -&gt; list[int]:
    """Roll `n_dice` 6-sided dice and return the results."""
    return [random.randint(1, 6) for _ in range(n_dice)]
```</p>
<p>```
fastmcp install claude-code server.py   # or: fastmcp install gemini-cli server.py
```</p>
<p>On Windows, this opens Calculator via the `&amp;calc` in the server name.</p>
<p>Impact:
Arbitrary command execution with the privileges of the user running `fastmcp install`. Affects Windows hosts where the target CLI (one of claude, gemini) is installed as a `.cmd` wrapper. Does not affect macOS/Linux, and does not affect config-file-based install targets (cursor, goose, mcp-json).</p>
<p>Patched in #3522 by validating server names to reject shell metacharacters.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-m8x7-r2rg-vh5g"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-2475</id>
    <title>PYSEC-2026-2475 — FastMCP has a Command Injection vulnerability - Gemini CLI</title>
    <updated>2026-10-02T09:42:51.743780+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: fastmcp</p>
<p>Server names containing shell metacharacters (e.g., `&amp;`) can cause command injection on Windows when passed to `fastmcp install claude-code` or `fastmcp install gemini-cli`. These install paths use `subprocess.run()` with a list argument, but on Windows the target CLIs often resolve to `.cmd` wrappers that are executed through `cmd.exe`, which interprets metacharacters in the flattened command string.</p>
<p>PoC:
```python
from fastmcp import FastMCP</p>
<p>mcp = FastMCP(name="test&amp;calc")</p>
<p>@mcp.tool
def roll_dice(n_dice: int) -&gt; list[int]:
    """Roll `n_dice` 6-sided dice and return the results."""
    return [random.randint(1, 6) for _ in range(n_dice)]
```</p>
<p>```
fastmcp install claude-code server.py   # or: fastmcp install gemini-cli server.py
```</p>
<p>On Windows, this opens Calculator via the `&amp;calc` in the server name.</p>
<p>Impact:
Arbitrary command execution with the privileges of the user running `fastmcp install`. Affects Windows hosts where the target CLI (one of claude, gemini) is installed as a `.cmd` wrapper. Does not affect macOS/Linux, and does not affect config-file-based install targets (cursor, goose, mcp-json).</p>
<p>Patched in #3522 by validating server names to reject shell metacharacters.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-2475"/>
  </entry>
</feed>
