{"data":{"id":"2ae58aef-75d7-4265-8c7c-485fb2913094","title":"CVE-2026-120338: Prefab UI's Generative UI sandbox runs caller-supplied Python inside Pyodide, Python compiled to WebAssembly, in a Deno…","summary":"Prefab UI's Generative UI sandbox, which runs caller-supplied Python in Pyodide inside a Deno subprocess, exposes the Deno API to that Python code in versions 0.14.0 through 0.20.2. The launcher also starts Deno with unrestricted --allow-read, --allow-write and --allow-net, so a caller who can supply code can read and write files as the server OS user and persist execution via a .pth file in the server virtualenv's site-packages. The usual remote path is FastMCP's GenerativeUI provider, which forwards the code argument of the generate_prefab_ui tool into the sandbox; on servers without authentication, any reachable client can exploit it. Confirmed on prefab-ui 0.20.2.","solution":"Fixed in 0.21.0: after the runtime and Prefab sources load, the runner revokes Deno read, write and network permission before accepting code, the process starts with --no-prompt, and bootstrap network access is limited to cdn.jsdelivr.net. The fix is commit 030f074 (pull request 538).","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-120338","publishedAt":"2026-11-01T16:18:14.970Z","cveId":"CVE-2026-120338","cweIds":["CWE-94","CWE-269","CWE-693"],"cvssScore":"10","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["Prefab UI","FastMCP","Pyodide","Deno"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"Prefab UI sandbox allows file access and code execution via Pyodide","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.01133,"epssPercentile":0.67513,"epssCheckedAt":"2026-12-03T18:26:57.972Z","epssHistory":null,"epss30dChange":null,"exploitUrls":null,"patchCommitUrls":["https://github.com/PrefectHQ/prefab/commit/030f074f85e0b1be0dd44b0283185aecb26337a2","https://github.com/PrefectHQ/prefab/pull/538"],"ssvcExploitation":"none","nvdStatus":"Deferred","referencesCheckedAt":"2026-12-03T19:17:56.627Z","kevDateAdded":null,"advisoryAliases":["GHSA-3g72-rrqc-f76c"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-12-03T18:47:18.422Z","patchAvailable":null,"disclosureDate":"2026-11-01T16:18:14.970Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-122","CAPEC-242"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity"],"aiComponentTargeted":"plugin","llmSpecific":true,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":null,"affectedPurls":null,"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":false,"timeline":[{"event":"published","date":"2026-11-01","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}