Time-of-check Time-of-use (TOCTOU) Race Condition in filelock - CVE-2026-112913

 

Time-of-check Time-of-use (TOCTOU) Race Condition in filelock - CVE-2026-112913

Published: November 2, 2026


Vulnerability identifier: #VU158671
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-112913
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available

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.


Affected software

filelock

How to mitigate CVE-2026-112913

Install security update from vendor's website.

filelock - update to 4.2.1

External References

Related Security Bulletins