Time-of-check Time-of-use (TOCTOU) Race Condition in filelock - CVE-2026-112913
Published: November 2, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service by preventing reader and writer lock acquisition.
The vulnerability exists due to insufficient validation of SQLite side files in the Windows _connect implementation used by ReadWriteLock and AsyncReadWriteLock when opening a lock database in a directory writable by another account. A local user can place a non-empty <database>-wal file beside the database and deny deletion through its access control list to make every lock acquisition fail immediately with sqlite3.OperationalError instead of observing the configured timeout.