# GHSA-57MC-WXV7-332Q: Read-handle oplock stalls unrelated async tasks on Windows

- Database: GitHub
- Severity: CVSS 2.5 (Low)
- Published: 2026-11-22
- Modified: 2026-12-03

## Tracked as

- [CVE-2026-144339](https://cve.now/CVE-2026-144339.md): filelock: Read-handle oplock stalls unrelated async tasks on Windows

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

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 immediately. Nonblocking calls can raise `Timeout` even if the file becomes available shortly afterward. Restrict lock-file read access to trusted accounts and retain the default async executor. [Fix in PR #1033](https://github.com/tox-dev/filelock/pull/1033)

## Credits

Scan `filelock-20261116-009`; finding `ANT-2026-F0PRXOX0`.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-57mc-wxv7-332q

Page: https://cve.now/GHSA-57MC-WXV7-332Q

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
