Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. open-webui
  4. ›
  5. CVE-2026-59226

CVE-2026-59226: Open WebUI: Scheduled automations continue after pending-user deactivation and stored model ACL revocation

July 24, 2026

Open WebUI documents pending as a zero-access role used for new sign-ups and deactivated users, and normal HTTP routes enforce that with get_verified_user() (which rejects pending), while automation create/update/run routes additionally require the features.automations permission. Two paths missed that lifecycle gate, so a deactivated (pending) account could keep acting through the background automation scheduler:

  1. Scheduler did not re-gate the owner. When a stored automation became due, execute_automation() rehydrated the owner with Users.get_user_by_id(...) and re-entered the chat completion pipeline without re-checking that the owner was still user/admin or still held features.automations. A still-active automation therefore kept running after its owner was deactivated.
  2. Model ACL only enforced for exact role user. check_model_access() applied private-model grants only when user.role == "user", so a pending principal fell through a branch that denies a normal non-owner user.

Net effect: a deactivated account could continue scheduled chat generation through the background worker, consuming the operator’s configured model-provider credentials and reaching a stored automation model ID that its current role/ACL state would no longer permit through normal routes.

References

  • github.com/advisories/GHSA-mvx4-532p-xfm9
  • github.com/open-webui/open-webui/commit/920b655f4689e2118de928fbc936f6ebd4fed396
  • github.com/open-webui/open-webui/pull/26047
  • github.com/open-webui/open-webui/releases/tag/v0.10.0
  • github.com/open-webui/open-webui/security/advisories/GHSA-mvx4-532p-xfm9
  • nvd.nist.gov/vuln/detail/CVE-2026-59226

Code Behaviors & Features

Detect and mitigate CVE-2026-59226 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.9.0 before 0.10.0

Fixed versions

  • 0.10.0

Solution

Upgrade to version 0.10.0 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization
  • CWE-862: Missing Authorization
  • CWE-863: Incorrect Authorization

Source file

pypi/open-webui/CVE-2026-59226.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:18 +0000.