CVE-2026-45675
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.
Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
0.354%
chance of exploitation in the next 30 days
higher than 29.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-269: Improper Privilege Management
- CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-05-19 |
Timeline
- 2026-05-14GitHub advisory published (GHSA-h3ww-q6xx-w7x3)1 day before publication
- 2026-05-15Published by the CNA19:12 UTC
- 2026-05-19CISA SSVC decision recorded4 days after publication
Exploit and advisory records
GitHub advisory GHSA-h3ww-q6xx-w7x3, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI open-webui | before 0.9.0 | 0.9.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openwebui open_webui | before 0.9.0fixed in 0.9.0 | 0.9.0 |
References
- https://github.com/open-webui/open-webui/commit/96a0b3239b1aadb23fc359bf10849c9ba12fd6ec
- https://github.com/open-webui/open-webui/security/advisories/GHSA-h3ww-q6xx-w7x3
- https://github.com/open-webui/open-webui/pull/23626
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-45675'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-45675'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-45675'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-45675'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).