Time-of-check Time-of-use (TOCTOU) Race Condition in filelock - #VU169646

 

Time-of-check Time-of-use (TOCTOU) Race Condition in filelock - #VU169646

Published: November 23, 2026


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

Vulnerability details

The vulnerability allows a local user to break write-lock exclusivity, potentially compromising the integrity or availability of protected operations.

The vulnerability exists due to a time-of-check to time-of-use race condition in ReadWriteLock when the shared SQLite database switches to write-ahead logging during lock acquisition. A local user can modify the shared lock database to allow two callers to enter their write critical sections concurrently.


Affected software

filelock

Remediation

Install security update from vendor's website.

filelock - update to 4.3.0

External References

Related Security Bulletins