Horizon Alert
Summary of the vulnerability and why it matters
This vulnerability involves the Generative UI sandbox, which runs untrusted code in a protected environment. However, a flaw in versions 0.14.0 through 0.20.2 allows that code to bypass isolation and interact with the underlying operating system, potentially leading to unauthorized file access and code execution on the server. The main concern is confirming relevance and exposure to this risk.
- Code sandbox can read/write server files.
- Affects servers running specific UI versions.
- Confirm if this tool is deployed and used.
Attack Path
How an attacker could exploit the issue
An attacker can leverage this vulnerability if they can reach the Generative UI sandbox, which is often exposed via FastMCP servers. By supplying malicious Python code, an attacker can trick the sandbox into executing arbitrary commands on the server's operating system. This could allow them to read or write files, and even persist their access by planting malicious code.
- Unauthenticated or authenticated tool access required.
- Supply Python code to the Generative UI sandbox.
- Server compromise, arbitrary file access, and code execution.
Live Threat
Current exploitation, exposure, and threat context
A malicious actor could potentially read and write arbitrary files on the server by supplying crafted Python code to the Generative UI sandbox. This occurs when the underlying Deno subprocess is launched with broad read, write, and network permissions, and the Python environment can then leverage the Deno API to interact with the server's file system. Persistent code execution may be possible by writing a `.pth` file to the server's virtual environment.
- Server files and code execution.
- Supplied Python code accesses server.
- Unrestricted server access.
Operational Fix
Recommended remediation, mitigation, and detection steps
The affected technology, Prefab UI's Generative UI sandbox, likely falls under the responsibility of platform teams or application owners who manage FastMCP deployments. The initial practical step is to identify all FastMCP servers running Prefab UI, confirm their network exposure and business criticality, and then locate the accountable owner for each instance to plan remediation.
- Platform or application owners should own.
- Verify network exposure and criticality.
- Plan phased remediation by risk.