CVE-2026-45675: Open WebUI · LDAP and OAuth First-User Race Condition Allows Multiple Admin Accounts
Affects open-webuiSource GCVE Database
Not known to be exploited · CVSS 8.1 High : upgrade to 0.9.0 soon.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.9.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 14 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade open-webui to 0.9.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIopen-webui | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Open WebUI version 0.9.0 and later. Users should upgrade to version 0.9.0 or newer, where the LDAP and OAuth authentication flows have been updated to insert new users with a default role first and then atomically check if they are the sole user before promoting to admin. This eliminates the race condition. Until upgraded, administrators should be aware of the risk of multiple admin accounts being created on fresh deployments using LDAP or OAuth authentication.
Description
Open WebUI versions prior to 0.9.0 contain a race condition in the LDAP and OAuth authentication flows that allows multiple concurrent first-user logins to be assigned the admin role. This occurs because the role assignment checks if any users exist before inserting the new user, creating a time-of-check-time-of-use (TOCTOU) race window. The signup handler was patched to prevent this, but LDAP and OAuth paths were not fixed until version 0.9.0. Exploiting this flaw enables multiple users to gain administrator privileges simultaneously on a fresh instance.
References
- github.com/open-webui/open-webui/security/advisories/GHSA-h3ww-q6xx-w7x3 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-45675 (opens in a new tab)
- github.com/open-webui/open-webui/pull/23626 (opens in a new tab)
- github.com/open-webui/open-webui/commit/96a0b3239b1aadb23fc359bf10849c9ba12fd6ec (opens in a new tab)
- github.com/open-webui/open-webui (opens in a new tab)
- github.com/open-webui/open-webui/releases/tag/v0.9.0 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2730.yaml (opens in a new tab)