filelock: Read-handle oplock stalls unrelated async tasks on Windows
- CVE-2026-144339
- EUVD-2026-143584
Summary
In filelock, a platform-independent file lock library for Python, versions prior to 4.3.0 have a flaw on Windows where a local account with read access to a native lock file can delay a nonblocking or short-timeout FileLock acquisition. The delay is caused by a Windows opportunistic lock (oplock). When AsyncFileLock is used with run_in_executor=False, the delay also blocks unrelated tasks on the event loop. Even with the default executor, which keeps the loop responsive, an acquisition can miss its own deadline on the affected release. The issue is rated CVSS 2.5 and is fixed in version 4.3.0. It is not listed in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
Description
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(run_in_executor=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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
tox-dev filelock
Affected versions Fixed in < 4.3.0 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.