FastMCP updated to MCP 1.23+ due to CVE-2025-66416GHSA-rcfx-77hg-w2wv
GHSA-rcfx-77hg-w2wv is a security vulnerability in fastmcp. A fix is available for fastmcp — see the affected versions and patch details below.
Real-World Exposure
fastmcpReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
There was a recent CVE report on MCP: https://nvd.nist.gov/vuln/detail/CVE-2025-66416.
FastMCP does not use any of the affected components of the MCP SDK directly. However, FastMCP versions prior to 2.14.0 did allow MCP SDK versions <1.23 that were vulnerable to CVE-2025-66416. Users should upgrade to FastMCP 2.14.0 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | fastmcp | all versions | 2.14.0pip install --upgrade 'fastmcp==2.14.0' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for fastmcp, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update fastmcp to 2.14.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-rcfx-77hg-w2wv is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-rcfx-77hg-w2wv in your dependencies?
Find it across PyPI, including transitive dependencies.