Home / jlowin / fastmcp / CVE-2025-64340
CVE-2025-64340: is it exploited, and which versions of jlowin fastmcp are affected and fixed?
CVE-2025-64340 is an OS command injection vulnerability in jlowin fastmcp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: fastmcp before 3.2.0 (GitHub advisory GHSA-m8x7-r2rg-vh5g). Fixed in 3.2.0 (GitHub advisory GHSA-m8x7-r2rg-vh5g). Severity: Medium (6.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2025-64340?
FastMCP has a Command Injection vulnerability - Gemini CLI
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.
From the CVE record by GitHub_M, last updated April 3, 2026, 16:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| jlowin | fastmcp | < 3.2.0 |
As the CVE record by GitHub_M states it, last updated April 3, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | fastmcp | < 3.2.0 | 3.2.0 | GHSA-m8x7-r2rg-vh5g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 6, 2026. Summary: FastMCP has a Command Injection vulnerability - Gemini CLI.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| jlowin | fastmcp | before 3.2.0 | application |
NVD analysis (status Analyzed), last modified July 24, 2026, 21:10 UTC.
How severe is CVE-2025-64340?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | GitHub_M |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-64340 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, April 3, 2026)
- EPSS
- 0.84% probability of exploitation activity in the next 30 days, percentile 59.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://github.com/PrefectHQ/fastmcp/security/advisories/GHSA-m8x7-r2rg-vh5g x_refsource_CONFIRM
- https://github.com/PrefectHQ/fastmcp/pull/3522 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 30, 2025
- Published
- April 3, 2026, 15:16 UTC
- CVE record updated
- April 3, 2026, 16:12 UTC by GitHub_M
- NVD
- Analyzed, last modified July 24, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect fastmcp?
- Apr 3, 2026CVE-2026-27124 jlowin fastmcp: unintended Proxy or Intermediary
- Mar 16, 2026CVE-2025-69196 jlowin fastmcp: incorrect authorization
- Oct 28, 2025CVE-2025-62801 jlowin fastmcp: OS command injection
- Oct 28, 2025CVE-2025-62800 jlowin fastmcp: cross-site scripting (XSS)
Questions about CVE-2025-64340
Is CVE-2025-64340 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.84% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of jlowin fastmcp are affected by CVE-2025-64340?
fastmcp before 3.2.0, per the GitHub advisory GHSA-m8x7-r2rg-vh5g. The tables above give every range the sources list.
Which version fixes CVE-2025-64340?
3.2.0, per the GitHub advisory GHSA-m8x7-r2rg-vh5g. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-64340?
Medium (6.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-64340?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.