<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 02 Oct 2026 09:44:47 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-64340 — FastMCP has a Command Injection vulnerability - Gemini CLI</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-64340</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; jlowin fastmcp&lt;/p&gt;
&lt;p&gt;FastMCP is the standard framework for building MCP applications. Prior to version 3.2.0, server names containing shell metacharacters (e.g., &amp;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; jlowin fastmcp&lt;/p&gt;
&lt;p&gt;FastMCP is the standard framework for building MCP applications. Prior to version 3.2.0, server names containing shell metacharacters (e.g., &amp;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-64340</guid>
    </item>
    <item>
      <title>GHSA-m8x7-r2rg-vh5g — FastMCP has a Command Injection vulnerability - Gemini CLI</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-m8x7-r2rg-vh5g</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: fastmcp&lt;/p&gt;
&lt;p&gt;Server names containing shell metacharacters (e.g., `&amp;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.&lt;/p&gt;
&lt;p&gt;PoC:
```python
from fastmcp import FastMCP&lt;/p&gt;
&lt;p&gt;mcp = FastMCP(name=&amp;#34;test&amp;amp;calc&amp;#34;)&lt;/p&gt;
&lt;p&gt;@mcp.tool
def roll_dice(n_dice: int) -&amp;gt; list[int]:
    &amp;#34;&amp;#34;&amp;#34;Roll `n_dice` 6-sided dice and return the results.&amp;#34;&amp;#34;&amp;#34;
    return [random.randint(1, 6) for _ in range(n_dice)]
```&lt;/p&gt;
&lt;p&gt;```
fastmcp install claude-code server.py   # or: fastmcp install gemini-cli server.py
```&lt;/p&gt;
&lt;p&gt;On Windows, this opens Calculator via the `&amp;amp;calc` in the server name.&lt;/p&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;Patched in #3522 by validating server names to reject shell metacharacters.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: fastmcp&lt;/p&gt;
&lt;p&gt;Server names containing shell metacharacters (e.g., `&amp;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.&lt;/p&gt;
&lt;p&gt;PoC:
```python
from fastmcp import FastMCP&lt;/p&gt;
&lt;p&gt;mcp = FastMCP(name=&amp;#34;test&amp;amp;calc&amp;#34;)&lt;/p&gt;
&lt;p&gt;@mcp.tool
def roll_dice(n_dice: int) -&amp;gt; list[int]:
    &amp;#34;&amp;#34;&amp;#34;Roll `n_dice` 6-sided dice and return the results.&amp;#34;&amp;#34;&amp;#34;
    return [random.randint(1, 6) for _ in range(n_dice)]
```&lt;/p&gt;
&lt;p&gt;```
fastmcp install claude-code server.py   # or: fastmcp install gemini-cli server.py
```&lt;/p&gt;
&lt;p&gt;On Windows, this opens Calculator via the `&amp;amp;calc` in the server name.&lt;/p&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;Patched in #3522 by validating server names to reject shell metacharacters.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-m8x7-r2rg-vh5g</guid>
    </item>
    <item>
      <title>PYSEC-2026-2475 — FastMCP has a Command Injection vulnerability - Gemini CLI</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2026-2475</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: fastmcp&lt;/p&gt;
&lt;p&gt;Server names containing shell metacharacters (e.g., `&amp;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.&lt;/p&gt;
&lt;p&gt;PoC:
```python
from fastmcp import FastMCP&lt;/p&gt;
&lt;p&gt;mcp = FastMCP(name=&amp;#34;test&amp;amp;calc&amp;#34;)&lt;/p&gt;
&lt;p&gt;@mcp.tool
def roll_dice(n_dice: int) -&amp;gt; list[int]:
    &amp;#34;&amp;#34;&amp;#34;Roll `n_dice` 6-sided dice and return the results.&amp;#34;&amp;#34;&amp;#34;
    return [random.randint(1, 6) for _ in range(n_dice)]
```&lt;/p&gt;
&lt;p&gt;```
fastmcp install claude-code server.py   # or: fastmcp install gemini-cli server.py
```&lt;/p&gt;
&lt;p&gt;On Windows, this opens Calculator via the `&amp;amp;calc` in the server name.&lt;/p&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;Patched in #3522 by validating server names to reject shell metacharacters.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: fastmcp&lt;/p&gt;
&lt;p&gt;Server names containing shell metacharacters (e.g., `&amp;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.&lt;/p&gt;
&lt;p&gt;PoC:
```python
from fastmcp import FastMCP&lt;/p&gt;
&lt;p&gt;mcp = FastMCP(name=&amp;#34;test&amp;amp;calc&amp;#34;)&lt;/p&gt;
&lt;p&gt;@mcp.tool
def roll_dice(n_dice: int) -&amp;gt; list[int]:
    &amp;#34;&amp;#34;&amp;#34;Roll `n_dice` 6-sided dice and return the results.&amp;#34;&amp;#34;&amp;#34;
    return [random.randint(1, 6) for _ in range(n_dice)]
```&lt;/p&gt;
&lt;p&gt;```
fastmcp install claude-code server.py   # or: fastmcp install gemini-cli server.py
```&lt;/p&gt;
&lt;p&gt;On Windows, this opens Calculator via the `&amp;amp;calc` in the server name.&lt;/p&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;Patched in #3522 by validating server names to reject shell metacharacters.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2026-2475</guid>
    </item>
  </channel>
</rss>
