AZL-118744: CVE-2026-144339 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 a native lock file can delay a nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(runinexecutor=False), the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release. The delay is caused by a Windows opportunistic lock (oplock). 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 are exposed to this issue?
The issue affects Windows environments using filelock versions before 4.3.0. A local account must be able to read a native lock file to trigger the delay.
What is the operational impact of exploitation?
An attacker can delay nonblocking or short-timeout FileLock acquisition, causing the acquisition to miss its deadline. When AsyncFileLock is used with run_in_executor=False, the delay can also block unrelated tasks on the event loop.
Are applications using the default AsyncFileLock executor affected?
Yes. The default executor keeps the event loop responsive, but a lock acquisition can still miss its own deadline on an affected release.
What remediation is available?
Upgrade python-filelock to version 4.3.0, which fixes the issue.