Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. open-webui
  4. ›
  5. CVE-2026-59216

CVE-2026-59216: Open WebUI: Cross-user code-interpreter and tool execution via unvalidated Socket.IO event-caller session_id

July 24, 2026

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 →

Affected versions

All versions before 0.10.0

Fixed versions

  • 0.10.0

Solution

Upgrade to version 0.10.0 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-862: Missing Authorization
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/open-webui/CVE-2026-59216.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:33 +0000.