filelock: Read-handle oplock stalls unrelated async tasks on Windows
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| pip:filelock | < 4.3.0 | 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. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. The acquisition loop now treats an oplock conflict as contention…
Read on GitHub Advisory Database
On 12/05/2026, 06:38 AM, GitHub Advisory Database published "filelock: Read-handle oplock stalls unrelated async tasks on Windows" (type: Advisory). Severity is "Low" (low). Related technologies: Python, Windows. CVE: CVE-2026-144339.