Check out the latest research from IONIX: NEW! State of the WAF Report

New CVE Detected

CVE-2026-120338 – Sandbox Escape / Remote Code Execution – Prefab UI (prefab-ui) 0.14.0 to 0.20.2

Be the first to know when new zero-days emerge:

Summary

CVE-2026-120338 is a critical sandbox escape (protection mechanism failure) in the Generative UI sandbox of Prefab UI (prefab-ui, PrefectHQ). Code that runs inside the Pyodide sandbox can read and write files as the server’s OS user and can reach persistent code execution on the host. The CVE record rates it CVSS 10.0 (Critical).

Technical details

  • Root cause: The Deno subprocess that hosts the Pyodide sandbox was started with unrestricted --allow-read, --allow-write and --allow-net permissions. The Deno API was also exposed on the JavaScript global object, so sandboxed code was not isolated from the host.
  • Impact: Sandboxed code can read and write files as the server OS user. It can gain persistent code execution by writing into the virtualenv’s site-packages directory.
  • Attack vector: Network. The CVE record scores two scenarios. An unauthenticated scenario scores 10.0. A scenario where the attacker is an authenticated user scores 9.9.
  • Weaknesses (CWE): CWE-693 (Protection Mechanism Failure), CWE-94 (Improper Control of Generation of Code) and CWE-269 (Improper Privilege Management).
  • Fix: The fix is in PR #538, which revokes the sandbox bootstrap permissions before generated code executes.
  • Not confirmed: I could not retrieve the full GitHub advisory text. The exact trigger conditions, such as which deployments expose the Generative UI feature, and any workarounds are not confirmed here.

Affected software

  • prefab-ui (PrefectHQ) versions 0.14.0 through 0.20.2

Severity

  • CVSS v3.1 base score: 10.0 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • The authenticated-user scenario in the CVE record scores 9.9: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate: Upgrade prefab-ui to 0.21.0 or later. Version 0.21.0 was released on October 26, 2026.
  • If you cannot patch: No workarounds were confirmed in the sources reviewed. Until you can upgrade, consider disabling or restricting access to the Generative UI sandbox feature.
  • Check for compromise: Review the virtualenv site-packages directory for unexpected modifications. Review the server for unexpected file changes or outbound connections made by the application’s OS user.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge