Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-64340: FastMCP is the standard framework for building MCP applications

42
This month
MEDIUM 6.7UPGRADE

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 score6.7 (Medium)
Attack vectorLocal
Attack complexityHigh
Privileges neededLow
User interactionRequired
EPSS exploit chance0.7% (top 46%)
CISA exploited listNo
WeaknessCWE-78
Published2026-04-03
Last modified2026-07-24
Publisher (CNA): GitHub, Inc. · Vendor: jlowin

Share: LinkedIn · X · Reddit

Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

jlowin fastmcp UPGRADE
Affected: < 3.2.0
Fixed in: 3.2.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy fastmcp || rpm -q fastmcp || fastmcp --version
2. UPGRADE to 3.2.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade fastmcp
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade fastmcp
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

Windows vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.