CVE-2026-120338: Prefab UI's Generative UI sandbox runs caller-supplied Python inside Pyodide, Python compiled to WebAssembly,
CVE-2026-120338 is a critical-severity flaw (CVSS 10) affecting prefab-ui. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Prefab UI's Generative UI sandbox runs caller-supplied Python inside Pyodide, Python compiled to WebAssembly, in a Deno subprocess. The feature is documented as isolation for untrusted code, including LLM-written UI. From prefab-ui 0.14.0 through 0.20.2 the launcher starts Deno with unrestricted --allow-read, --allow-write, and --allow-net, and the runner leaves the Deno API on the JavaScript global object. Pyodide's js module proxies that global
Why this priority
- Critical severity
A fixed release or distro patch exists.
Last updated 2026-11-01 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Research and news
- VulDB Recent Entries: CVE-2026-120338 | Prefect Prefab UI up to 0.20.2 Generative UI sandbox (030f074) 2026-11-01
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-120338?
prefab-ui: upgrade to 0.21.0. Exact commands for each OS are on this page.
Is CVE-2026-120338 being exploited?
CVE-2026-120338 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-120338 affect?
CVE-2026-120338 affects prefab-ui. Severity is critical (CVSS 10). Prefab UI's Generative UI sandbox runs caller-supplied Python inside Pyodide, Python compiled to WebAssembly, in a Deno subprocess. The feature is documented as isolation for untrusted code, including LLM-written UI. From prefab-ui 0.14.0 t
How urgent is CVE-2026-120338?
Priority 35/100. Critical severity