CVE-2025-64340Jlowin Fastmcp
High 7.8
Follow: this CVE · Jlowin · Jlowin Fastmcp We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 3, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
FastMCP is the standard framework for building MCP applications. Prior to version 3.2.0, server names containing shell metacharacters (e.g., &) 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.
What to do
- Apply the vendor's security update for Fastmcp.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | fastmcp |
< 3.2.0 |
3.2.0 |
pip install "fastmcp>=3.2.0" |
| PyPI | fastmcp |
< 3.2.0 |
3.2.0 |
pip install "fastmcp>=3.2.0" |
Per OSV / GitHub Advisories (GHSA-m8x7-r2rg-vh5g, PYSEC-2026-2475). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jlowin | fastmcp | < 3.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- github.com Exploit Patch Vendor Advisory