CVE-2025-62801: jlowin fastmcp · OS Command Injection
Affects jlowin fastmcpSource CVE Database V5
Not known to be exploited · CVSS 5.4 Medium : upgrade to 2.13.0 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.13.0
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade jlowin/fastmcp to 2.13.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubjlowin/fastmcppkg:github/jlowin/fastmcpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Upgrade all FastMCP installations to version 2.13.0 or later immediately to apply the official fix that neutralizes the command injection vector. 2. Restrict access to the server_name field input to trusted users and processes only, implementing strict input validation and sanitization at the application layer as an additional safeguard. 3. Employ application whitelisting and endpoint detection and response (EDR) tools to monitor and block suspicious command execution activities on Windows hosts running FastMCP. 4. Conduct regular audits of user privileges and minimize permissions for accounts interacting with FastMCP to reduce the risk of privilege escalation. 5. Implement network segmentation to isolate critical MCP application servers from less secure network zones, limiting potential lateral movement. 6. Educate users and administrators about the risks of social engineering and the importance of cautious interaction with MCP application inputs. 7. Monitor logs for unusual command execution patterns or anomalies related to the server_name field to detect potential exploitation attempts early.
Description
### Summary 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 ### Details 1. generate_cursor_deeplink(server_name, …) embeds server_name verbatim in a cursor://…?name= query string. 2. open_deeplink() is invoked with shell=True only on Windows. That calls cmd.exe /c start <deeplink>. 3. Any cmd metacharacter inside server_name (&, |, >, ^, …) escapes the start command and spawns an attacker-chosen process. ### PoC 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` ### Impact 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.