# GHSA-F37P-FQRX-F498: Read-only oplock can hold strict lock acquisition past its timeout

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

## Tracked as

- [CVE-2026-144392](https://cve.now/CVE-2026-144392.md): filelock: Read-only oplock can hold strict lock acquisition past its timeout

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

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.

## Affected version and mitigation

The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later.

Filelock now opens the sentinel without waiting for an outstanding oplock break, letting the caller handle contention, cancellation and timeouts. Restrict sentinel read access to participating accounts. This fix covers opening the sentinel during acquisition. [Fix in PR #987](https://github.com/tox-dev/filelock/pull/987).

## Credits

Reported in the filelock scan as ANT-2026-9GI58YA1.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-f37p-fqrx-f498

Page: https://cve.now/GHSA-F37P-FQRX-F498

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