GHSA-482j-2pq6-q5w4: Open WebUI: Jupyter code execution works despite `ENABLE_CODE_EXECUTION=false` — feature gate bypassed
- Identifiers
- CVE-2026-45672GHSA-482j-2pq6-q5w4
- Published
- Record updated
- Affected
- open-webui <= 0.8.11
- Fixed in
- 0.8.12
- released March 26, 2026, 48 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
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.
Mitigation
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.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database