Race Condition Enabling Link Following in filelock - CVE-2026-112940

 

Race Condition Enabling Link Following in filelock - CVE-2026-112940

Published: November 2, 2026


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

Vulnerability details

The vulnerability allows a local user to overwrite, create, or delete files with the lock user's privileges, bypass reader/writer lock exclusion, or cause a denial of service.

The vulnerability exists due to a race condition enabling link following and unsafe handling of SQLite side files in ReadWriteLock and AsyncReadWriteLock when opening lock databases in directories where another account can create or rename entries. A local user can plant symlinks or crafted SQLite journal, WAL, and shared-memory files to redirect database access, trigger journal recovery, or disrupt locking to modify or delete the lock user's files, bypass lock exclusion, or cause lock acquisition failures and process termination.

Windows does not use the vulnerable code path.


Affected software

filelock

How to mitigate CVE-2026-112940

Install security update from vendor's website.

filelock - update to 4.2.1

External References

Related Security Bulletins