fastmcp: known vulnerabilities and the safe version

PyPI10 records

The version to be on

Version 4.1.2 or later fixes every vulnerability on this page that has a recorded fix.

Upgrade fastmcp with pip

pip install --upgrade "fastmcp>=4.1.2"
pip show fastmcp | grep Version

Pin it in requirements.txt

fastmcp>=4.1.2

Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.

Watch fastmcp

Get an email only when fastmcp has a new vulnerability record. Unsubscribe with one click.

Badge for your README

Shows the number of known critical and high vulnerabilities in fastmcp and the version that fixes them. It updates by itself.

SecurityElites AI vulnerability status for fastmcp

Markdown

[![SecurityElites AI vulnerability status](https://securityelites.com/ai-vulnerabilities/package/fastmcp/badge/)](https://securityelites.com/ai-vulnerabilities/package/fastmcp/)

All records

  • FastMCP: Post-transform component authorization is skipped on direct callsMedium · GHSA-7xgj-8392-5q4r · fixed in 4.1.2 · 24 Oct 2026
  • FastMCP MCP client wrappers construct M2M OAuth providers without issuer binding — client secret redirectab…Medium · GHSA-vqqp-x5qm-5qp4 · fixed in 4.1.2 · 24 Oct 2026
  • FastMCP OpenAPI Provider has an SSRF & Path Traversal VulnerabilityUnknown · CVE-2026-32871 · fixed in 3.2.0 · 1 Apr 2026
  • FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy VulnerabilitiesUnknown · CVE-2026-27124 · fixed in 3.2.0 · 1 Apr 2026
  • FastMCP has a Command Injection vulnerability - Gemini CLIUnknown · CVE-2025-64340 · fixed in 3.2.0 · 1 Apr 2026
  • FastMCP OAuth Proxy token reuse across MCP serversUnknown · CVE-2025-69196 · fixed in 2.14.2 · 16 Mar 2026
  • FastMCP updated to MCP 1.23+ due to CVE-2025-66416High · GHSA-rcfx-77hg-w2wv · fixed in 2.14.0 · 27 Dec 2025
  • FastMCP vulnerable to windows command injection in FastMCP Cursor installer via server_nameUnknown · CVE-2025-62801 · fixed in 2.13.0 · 29 Oct 2025
  • FastMCP vulnerable to reflected XSS in client's callback pageUnknown · CVE-2025-62800 · fixed in 2.13.0 · 29 Oct 2025
  • FastMCP Auth Integration Allows for Confused Deputy Account TakeoverHigh · GHSA-c2jp-c369-7pvx · fixed in 2.13.0 · 29 Oct 2025