prefab-ui is vulnerable to Protection Mechanism Failure
100
CVE Score
Critical
Protection Mechanism Failure
Before the fix, PyodideSandbox started the Generative UI sandbox's Deno runner with unrestricted --allow-read, --allow-write and --allow-net, and the runner executed caller-supplied Python without revoking those permissions, so the code reached host file read and write through Pyodide's js module and could persist execution by writing a .pth file into site-packages. Anyone allowed to invoke the sandbox, locally or through FastMCP's generate_prefab_ui tool on a server with no authentication, could supply the code; the feature is opt-in and needs Deno installed on the host. Versions 0.14.0 through 0.20.2 are affected. The fix restricts Deno's network to the Pyodide CDN, adds --no-prompt, and revokes read, write and net permissions before any generated code runs.
Upgrade the prefab-ui package to 0.21.0 or later.
You are affected if you are using a version that falls within the vulnerable range and run the Generative UI sandbox, with Deno installed on the host, and let callers supply its Python code.
0.14.0 - 0.20.2
Fixed in 0.21.0prefab-ui is vulnerable to Protection Mechanism Failure in versions 0.14.0 - 0.20.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.