AZL-118792: CVE-2026-144392 affecting package python-filelock 3.20.3-4
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to an idle StrictSoftFileLock sentinel can delay acquisition beyond the requested timeout. A Windows opportunistic lock (oplock) on the sentinel can keep the caller’s thread waiting inside the operating system, including during a nonblocking acquisition. This issue is fixed in version 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
python-filelockto a version that resolves this vulnerability.Fixed in 4.3.0
Event History
Frequently Asked Questions
Which systems and lock mode are affected?
The issue affects Windows systems using StrictSoftFileLock from filelock versions prior to 4.3.0. It requires an idle sentinel that a local account can read.
What access does an attacker need?
An attacker needs a local Windows account with read access to the idle StrictSoftFileLock sentinel. They can use a Windows opportunistic lock on that sentinel to delay another caller's lock acquisition.
Can this affect nonblocking lock acquisition?
Yes. The caller can remain blocked inside the operating system even when requesting a nonblocking acquisition, and the delay can exceed the requested timeout.
What version fixes the issue?
Upgrade filelock to version 4.3.0 or later.