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

 

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

Published: November 23, 2026


Vulnerability identifier: #VU169648
CSH Severity: Low
CVSS v4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/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 overwrite the beginning of an unrelated victim-owned file with holder-record data.

The vulnerability exists due to a time-of-check time-of-use race condition in the SoftReadWriteLock heartbeat when a reused inode number is mistaken for proof that the original holder-record file is still open. A local user can manipulate entries in a shared directory where they have rename permissions to cause an unintended overwrite on a filesystem that reuses inode numbers.


Affected software

filelock

Remediation

Install security update from vendor's website.

filelock - update to 4.3.0

External References

Related Security Bulletins