Time-of-check Time-of-use (TOCTOU) Affecting open-webui package, versions <0.12.3-r10


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-OPENWEBUI-21757039
  • published28 Oct 2026
  • disclosed5 Nov 2026

Introduced: 28 Oct 2026

NewCVE-2026-112913  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Wolfi open-webui to version 0.12.3-r10 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream open-webui package and not the open-webui package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock and AsyncReadWriteLock on Windows use _connect to attach SQLite to the lock database by pathname, allowing another local account that can create adjacent names to place a database-wal or database-journal side file before acquisition. An undeletable WAL file makes each read or write acquisition fail immediately with sqlite3.OperationalError regardless of timeout. Separately, when the database contains at least one table, a hot journal that grants the lock account modify rights can cause SQLite recovery to delete a file named by that journal only when the lock account has permission to delete the target. The issue requires a directory writable by another account, such as a shared Windows temporary directory, and does not affect private directories. This issue is fixed in version 4.2.1.