SecurityContext

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

IdName
CWE-269Improper Privilege Management

Public exploits

UrlSourceAdded date
https://github.com/open-webui/open-webui/security/advisories/GHSA-h3ww-q6xx-w7x3nvd2026-05-15

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/open-webui/open-webui/commit/96a0b3239b1aadb23fc359bf10849c9ba12fd6ecPatch
https://github.com/open-webui/open-webui/security/advisories/GHSA-h3ww-q6xx-w7x3Exploit, Mitigation, Vendor Advisory
https://github.com/open-webui/open-webui/pull/23626Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
openwebui:open_webui< 0.9.0nonvd/v1/products/openwebui/open_webui

Projects

RepositoryLink kindsIndexedUrl
open-webui/open-webuicommit, fix, package, pull, releases, security_advisoryyes/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