{"cve":"CVE-2026-45675","nvd":{"published":"2026-05-15T20:16:49.220","modified":"2026-06-18T22:16:31.463","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-269","CWE-362"],"references":["https://github.com/open-webui/open-webui/commit/96a0b3239b1aadb23fc359bf10849c9ba12fd6ec","https://github.com/open-webui/open-webui/pull/23626","https://github.com/open-webui/open-webui/security/advisories/GHSA-h3ww-q6xx-w7x3"],"products":["openwebui:open_webui"],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-45675","score":0.00354,"percentile":0.29105,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-h3ww-q6xx-w7x3","url":"https://osv.dev/vulnerability/GHSA-h3ww-q6xx-w7x3","summary":"Open WebUI: LDAP and OAuth First-User Race Condition Allows Multiple Admin Accounts","modified":"2026-07-15T22:00:52.603228654Z","packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":["<0.9.0"],"fixed":["0.9.0"]}]},{"id":"PYSEC-2026-2730","url":"https://osv.dev/vulnerability/PYSEC-2026-2730","summary":"Open WebUI: LDAP and OAuth First-User Race Condition Allows Multiple Admin Accounts","modified":"2026-07-13T16:32:20.752503876Z","packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":["<0.9.0"],"fixed":["0.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}