CVE-2026-45675

HIGH CVSS 3.1: 8.1 EPSS 0.35%
Updated Jun 19, 2026
Openwebui
Parameter Value
CVSS 8.1 (HIGH)
Affected Versions before 0.9.0
Fixed In 0.9.0
Type CWE-269 (Improper Privilege Management), CWE-362 (Race Condition)
Vendor Openwebui
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Openwebui Open_Webui
cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*
— 0.9.0