CVE Explorer
CVE-2025-64340
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 bee
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"fastmcp","vendor":"jlowin","versions":[{"status":"affected","version":"< 3.2.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4c51418fffd1711b1a35d600398a5b8ffdd86360d918c2487e7e2eb9d49ee0e2 · sha256:3e4e9a462ee0bea9… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.7,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4c51418fffd1711b1a35d600398a5b8ffdd86360d918c2487e7e2eb9d49ee0e2 · sha256:3e4e9a462ee0bea9… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4c51418fffd1711b1a35d600398a5b8ffdd86360d918c2487e7e2eb9d49ee0e2 · sha256:3e4e9a462ee0bea9… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/PrefectHQ/fastmcp/pull/3522","tags":["x_refsource_MISC"],"url":"https://github.com/PrefectHQ/fastmcp/pull/3522"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4c51418fffd1711b1a35d600398a5b8ffdd86360d918c2487e7e2eb9d49ee0e2 · sha256:3e4e9a462ee0bea9… · /containers/cna/references/1
{"name":"https://github.com/PrefectHQ/fastmcp/security/advisories/GHSA-m8x7-r2rg-vh5g","tags":["x_refsource_CONFIRM"],"url":"https://github.com/PrefectHQ/fastmcp/security/advisories/GHSA-m8x7-r2rg-vh5g"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4c51418fffd1711b1a35d600398a5b8ffdd86360d918c2487e7e2eb9d49ee0e2 · sha256:3e4e9a462ee0bea9… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/PrefectHQ/fastmcp/security/advisories/GHSA-m8x7-r2rg-vh5g"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4c51418fffd1711b1a35d600398a5b8ffdd86360d918c2487e7e2eb9d49ee0e2 · sha256:3e4e9a462ee0bea9… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.