All vulnerabilities

Servers and applications

CVE-2026-59216

Cross-user code-interpreter and tool execution via unvalidated Socket.IO event-caller session_id

Severity
Critical 9.0
Published
2 Jul 2026
Last changed
13 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.10.0
Exploit chance
0.5% in the next 30 daysHigher than 40% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Code injection (CWE-94)Information exposure (CWE-200)Authorization bypass through a user-controlled key (IDOR) (CWE-639)Missing authorization (CWE-862)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Also known as
GHSA-74h3-cxq7-vc5q
Sources
NVD, Project advisories (GitHub)

Description

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).

The event-caller routes to a caller-controlled session id with no ownership check:

From open-webui/open-webui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cpe:a:openwebui:open_webui
  • Every version before 0.10.0
Open WebUIServers and applications · github:open-webui/open-webui
  • Every version before 0.10.0

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
355,496PyPI Stats, 15 Nov 2026
Docker Hub pulls
990,663Docker Hub, 15 Nov 2026
GitHub stars
158,684GitHub, 15 Nov 2026
Forks
23,075GitHub, 15 Nov 2026
Latest release
v0.13.3GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
multi-licensingWikidata
First published on GitHub
6 Oct 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-59216
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-59216
  • GitHub Advisory Database https://github.com/advisories/GHSA-74h3-cxq7-vc5q
  • github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-74h3-cxq7-vc5q