{"data":{"id":"96144991-f661-4621-b2da-a906e59e14cf","title":"GHSA-482j-2pq6-q5w4: Open WebUI: Jupyter code execution works despite `ENABLE_CODE_EXECUTION=false` — feature gate bypassed","summary":"Open WebUI's `/api/v1/utils/code/execute` endpoint runs Python code through a connected Jupyter server for any verified user, even when the admin has set `ENABLE_CODE_EXECUTION=false`, because the endpoint never checks that flag. A proof of concept on v0.8.11 Docker, verified 2026-03-25, ran `os.popen(\"id\")` and read internal secret service content, and the Jupyter container's network access to internal services also makes this an SSRF vector.","solution":"Fixed in commit 6d736d3c5, first released in v0.8.12. The `/api/v1/utils/code/execute` handler in `backend/open_webui/routers/utils.py` now checks `request.app.state.config.ENABLE_CODE_EXECUTION` before dispatching to the Jupyter engine and returns 403 with `FEATURE_DISABLED('Code execution')` when the flag is disabled. The retrieval-side code path was gated in the same commit. Users on `>= 0.8.12` are not affected.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-482j-2pq6-q5w4","publishedAt":"2026-05-14T20:28:40.000Z","cveId":"CVE-2026-45672","cweIds":["CWE-863"],"cvssScore":"8.8","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["open-webui@<= 0.8.11 (fixed: 0.8.12)"],"affectedPackageNames":["open-webui"],"affectedPackageRefs":["pypi:open-webui"],"affectedVendors":[],"affectedVendorsRaw":["Open WebUI","Jupyter"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"low","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.00406,"epssPercentile":0.36952,"epssCheckedAt":"2026-12-03T19:40:28.795Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/open-webui/open-webui/security/advisories/GHSA-482j-2pq6-q5w4"],"patchCommitUrls":["https://github.com/open-webui/open-webui/commit/6d736d3c598dbe49488675ed42845e00b62dfcba"],"ssvcExploitation":"poc","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:29:40.881Z","kevDateAdded":null,"advisoryAliases":["GHSA-482j-2pq6-q5w4"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-05-14T20:28:40.000Z","fixReleasedAt":"2026-03-27T00:32:45.672Z","daysToFix":-48,"fixCheckedAt":"2026-12-03T18:30:49.068Z","capecIds":["CAPEC-122"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","safety"],"aiComponentTargeted":"inference","llmSpecific":false,"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":["open-webui@0.8.12"],"affectedPurls":["pkg:pypi/open-webui"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"fix_released","date":"2026-03-27","source":"package_registry"},{"event":"published","date":"2026-05-14","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":[{"ecosystem":"pypi","name":"open-webui","fixedVersion":"0.8.12","matchedVersion":"0.8.12","fixReleasedAt":"2026-03-27T00:32:45.672Z","daysToFix":-48,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-12-03T18:30:49.067Z"}]}}