Use of Incorrectly-Resolved Name or Reference in filelock - CVE-2026-112909

 

Use of Incorrectly-Resolved Name or Reference in filelock - CVE-2026-112909

Published: November 2, 2026


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

Vulnerability details

The vulnerability allows a local user to truncate another user's files and, when an explicit permissive lock mode is configured, read and modify data subsequently written to those files.

The vulnerability exists due to incorrect resolution of file references in filelock's UnixFileLock._finalize_locked_fd when acquiring a lock on a pre-existing regular file without verifying that it is the intended lock file. A local user can rename or hard-link a file owned by the user running the lock onto an unused lock path before the next acquire() to trigger truncation with that user's privileges and, if an explicit permissive mode is configured, permission changes that enable reading and modifying subsequently written data.


Affected software

filelock

How to mitigate CVE-2026-112909

Install security update from vendor's website.

filelock - update to 4.2.1

External References

Related Security Bulletins