CVE-2026-59216: Open WebUI: Cross-user code-interpreter and tool execution via unvalidated Socket.IO event-caller session_id
An authenticated low-privilege user can execute arbitrary code-interpreter Python and tools inside another user’s authenticated session. The Socket.IO event-caller (get_event_call) delivers execute:python / execute:tool events to a client-supplied session_id after only checking that the session is connected, never that it belongs to the requester. Combined with ydoc:document:join, which exposes the live socket ids of everyone in a shared note’s collaboration room to any read-access participant, an attacker can target a victim’s session and run attacker-chosen code/tools in the victim’s browser context. When the victim is an administrator, that hijacked context reaches the admin-only Functions API, whose source is executed server-side, yielding remote code execution as the server process (root in the default container).
References
- github.com/advisories/GHSA-74h3-cxq7-vc5q
- github.com/open-webui/open-webui/commit/386ac958144dbbbf0aa6e268070d72b681a318aa
- github.com/open-webui/open-webui/pull/25763
- github.com/open-webui/open-webui/releases/tag/v0.10.0
- github.com/open-webui/open-webui/security/advisories/GHSA-74h3-cxq7-vc5q
- nvd.nist.gov/vuln/detail/CVE-2026-59216
Code Behaviors & Features
Detect and mitigate CVE-2026-59216 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →