Read the docs
TI-2026-33417 Aliases CVE-2026-45675GHSA-h3ww-q6xx-w7x3

Open WebUI: LDAP and OAuth First-User Race Condition Allows Multiple Admin Accounts

Priority LOW 37CWE-269Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Privilege escalation
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-269.

Summary

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.0, the LDAP and OAuth authentication flows use a TOCTOU (Time-of-Check-Time-of-Use) pattern for first-user admin role assignment. The regular signup handler (signup_handler in auths.py, line 663) was explicitly patched to prevent this race with the comment "Insert with default role first to avoid TOCTOU race", but the LDAP and OAuth code paths were never updated with the same fix. This vulnerability is fixed in 0.9.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00354 29th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed open-webui (open-webui): 0.9.0open-webui (PyPI): 0.9.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
open-webuiopen-webuibefore 0.9.00.9.0Patch availableCNA
—open-webui (PyPI)before 0.9.00.9.0Patch availableGHSA-h3ww-q6xx-w7x3
  • open-webui Vendoropen-webui Affected before 0.9.0 Fixed in 0.9.0 Patch available CNA
  • open-webui (PyPI) Vendor— Affected before 0.9.0 Fixed in 0.9.0 Patch available GHSA-h3ww-q6xx-w7x3

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*before 0.9.0Vulnerableopen-webui
  • cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* Versions before 0.9.0 Vulnerable ·open-webui

Remediation

  • Fix · CNA open-webui (open-webui) Fixed in 0.9.0
  • Fix · GHSA-h3ww-q6xx-w7x3 open-webui (PyPI) Fixed in 0.9.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45675
  2. 2026-10-03 Alias added: GHSA-h3ww-q6xx-w7x3

References

  • TI-2024-06216 Open WebUI Arbitrary File Upload + Path Traversal CVSS 3.1HIGH 8.8
  • TI-2024-07467 Improper Authentication in open-webui/open-webui CVSS 3.1HIGH 8.2
  • TI-2026-42359 Open WebUI: Cross-user code-interpreter and tool execution via unvalidated Socket.IO event-caller session_id CVSS 3.1CRITICAL 9.0
  • TI-2026-40759 open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation CVSS 4.0CRITICAL 9.0
  • TI-2024-07431 Cross-site Scripting (XSS) in open-webui/open-webui CVSS 3.0CRITICAL 9.0
  • TI-2026-60021 Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin CVSS 3.1HIGH 8.7
See all 154 →

Sources