Sandbox Misconfiguration in Prefab UI
CVE-2026-120338
Key Information:
- Vendor
Prefecthq
- Status
- Prefab-ui
- CVE ID
- CVE ID:
- CVE-2026-120338
- Vendor
- CVE Published:
- 1 November 2026
- Fixed in
- Fixed in:
- 0.21.0
Timeline
Exploit known 30 days after it was published
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Partly: Works over the network, but needs a login
- Yes: Public exploit code (1 proof-of-concept)
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach prefab-ui. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Look for signs of compromise
Exploit code is public, so check logs on exposed prefab-ui systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.
4Why it's rated "Patch this week"
- Exploit code is public, so attacks are easy to copy.
- Its CVSS severity is critical (9.9).
What is CVE-2026-120338?
The Prefab UI application by PrefectHQ features a Generative UI sandbox intended to carefully isolate untrusted code execution. However, from versions 0.14.0 to 0.20.2, this sandbox runs Python code supplied by users in a Deno subprocess with excessive permissions, enabling unauthorized file access and potential code execution. This misconfiguration allows attackers to read and write files as the server operating system user, and even persist malicious code by writing to the server's virtual environment. Unauthenticated users can exploit this vulnerability when able to access a FastMCP server that uses the GenerativeUI provider. The issue has been addressed in version 0.21.0 where permissions have been escalated and restricted to prevent such exploits.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction
