CVE-2025-64340: FastMCP is the standard framework for building MCP applications
CVE-2025-64340 is a medium-severity flaw (CVSS 6.7) affecting fastmcp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 i
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.7 (Medium) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.7% (top 46%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2026-04-03 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-64340?
fastmcp: upgrade to 3.2.0. Exact commands for each OS are on this page.
Is CVE-2025-64340 being exploited?
CVE-2025-64340 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-64340 affect?
CVE-2025-64340 affects fastmcp. Severity is medium (CVSS 6.7). 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 ins
How urgent is CVE-2025-64340?
Priority 42/100. Public exploit reference
Software pages
Related CVEs
- CVE-2026-32871 CRITICAL 10.0 UPGRADE FastMCP is a Pythonic way to build MCP servers and clients
- CVE-2026-27124 MEDIUM 6.1 UPGRADE FastMCP is the standard framework for building MCP applications
- CVE-2025-69196 MEDIUM 6.5 UPGRADE FastMCP is the standard framework for building MCP applications