Prefab UI Generative UI Sandbox Escape CVE-2026-120338 Rated CVSS 10.0
Date: 2026-11-02
Tags: supply-chain, mcp-security
Executive Summary
JFrog rated a sandbox escape in Prefab UI at CVSS 10.0 on an unauthenticated server, according to The Injection week 44 coverage. Model written Python ran in the Generative UI sandbox with unrestricted Deno read, write and network permissions, so generated code could reach host files and run on the host. Upgrade prefab-ui to 0.21.0 or later, remove the GenerativeUI provider from FastMCP servers that do not need it, and require authentication on any server that keeps it.
Campaign Summary
| Field | Detail |
|---|---|
| Campaign / Malware | Prefab UI Generative UI Sandbox Escape |
| Attribution | Unknown (confidence: none) |
| Target | Deployments running Prefab UI, including FastMCP servers that pull it in through fastmcp[apps] |
| Vector | Model generated Python executed inside a Deno sandbox that held open file and network permissions |
| Status | active |
| First Observed | 2026-11-01 |
Detailed Findings
The Injection week 44 roundup, citing JFrog, reported that Prefab UI's Generative UI sandbox ran model written Python with unrestricted Deno read, write and network permissions. Generated code could therefore reach host files and run on the host, and JFrog scored the issue CVSS 10.0 on an unauthenticated server. The flaw tracks as CVE-2026-120338 and is fixed in 0.21.0, the package that fastmcp[apps] pulls in. Until teams upgrade, The Injection advises removing the GenerativeUI provider from any FastMCP server that does not need it, requiring authentication on servers that keep it, and checking exposed hosts for unexpected .pth files in the virtualenv site-packages.
MITRE ATT&CK Mapping
| Technique | ID | Context |
|---|---|---|
| Command and Scripting Interpreter | T1059 | Model generated Python that escaped the Deno sandbox executed on the host with the server's permissions |
IOCs
Domains
_No attacker domains, hashes or IPs were published; only CVE-2026-120338 and the affected package version were disclosed_
Full URL Paths
_No attacker domains, hashes or IPs were published; only CVE-2026-120338 and the affected package version were disclosed_
Splunk Format
_No IOCs available for Splunk query_
Package Indicators
pypi:prefab-ui
Affected Platforms
Prefab UI before 0.21.0
FastMCP servers exposing the GenerativeUI provider
Detection Recommendations
Inventory Python environments for prefab-ui below 0.21.0 and upgrade. Sweep virtualenv site-packages for unexpected .pth files that auto execute code at interpreter start. Audit FastMCP servers for the GenerativeUI provider, disable it where unused, and enforce authentication on any internet facing instance.
References
- [The Injection] AI security news, week 44 of 2026 (2026-11-01) — https://theinjection.dev/week/2026-w44/