CVE-2025-62801Medium▾ SunlitFastMCP vulnerable to windows command injection in FastMCP Cursor installer via server_name
▾ Sunlit zone — Low / medium · no exploitation signal
impact 27.5 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
0.2%
0.2% → 0.2%
A command-injection vulnerability lets any attacker who can influence the server_name field of an MCP execute arbitrary OS commands on Windows hosts that run fastmcp install cursor
server.py
import random
from fastmcp import FastMCP
mcp = FastMCP(name="test&calc")
@mcp.tool
def roll_dice(n_dice: int) -> list[int]:
"""Roll `n_dice` 6-sided dice and return the results."""
return [random.randint(1, 6) for _ in range(n_dice)]
if __name__ == "__main__":
mcp.run()
then run in the terminal:
fastmcp install cursor server.py
OS Command / Shell Injection (CWE-78) Every Windows host that runs fastmcp install cursor is at risk. Developers on their local workstations, CI/CD agents and corporate build machines alike.
fastmcp < 2.13.0Upgrade to a patched release:
fastmcp 2.13.0Connected by shared product, vendor, weakness, or advisory.
CVE-2025-62800MediumFastMCP vulnerable to reflected XSS in client's callback page
CVE-2026-27124HighFastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
CVE-2025-64340Medium· 6.7FastMCP has a Command Injection vulnerability - Gemini CLI
CVE-2026-32871Critical· 10.0FastMCP is a Pythonic way to build MCP servers and clients
CVE-2025-69196Medium· 6.5FastMCP is the standard framework for building MCP applications