CVE-2026-45675: Open WebUI - Race Condition
- Cve: CVE-2026-45675
- Name: Open WebUI - Race Condition
- Description: 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.
- Impact: Attackers can gain admin privileges by exploiting a race condition during first-user signup, leading to full system control.
- Remediation: Update to version 0.9.0 or later.
- Vulnerability type: race_condition
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00354
- Epss percentile: 0.29453
- Assignee: [email protected]
- Published at: 2026-05-15T20:16:49Z
- Age in days: 193
- Modified at: 2026-11-11T20:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-45675
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-269 | Improper Privilege Management |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/open-webui/open-webui/security/advisories/GHSA-h3ww-q6xx-w7x3 | nvd | 2026-05-15 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/open-webui/open-webui/commit/96a0b3239b1aadb23fc359bf10849c9ba12fd6ec | Patch |
| https://github.com/open-webui/open-webui/security/advisories/GHSA-h3ww-q6xx-w7x3 | Exploit, Mitigation, Vendor Advisory |
| https://github.com/open-webui/open-webui/pull/23626 | Issue Tracking |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openwebui:open_webui | < 0.9.0 | no | nvd | /v1/products/openwebui/open_webui |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| open-webui/open-webui | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/open-webui/open-webui |
Index
- Repositories: 2
- Repositories high signal: 2
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-05-15
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts