CVE-2026-144392: filelock: Read-only oplock can hold strict lock acquisition past its timeout

Published Dec 3, 2026
·
Updated

filelock is a platform-independent file lock for Python. Prior to 4.3.0, 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. This issue is fixed in version 4.3.0.

Affected Software

1 affected component
pypi/filelock<4.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.3.0

Event History

Dec 3, 2026
CVE Published
via MITRE·07:14 PM
Data Sourced
via MITRE·07:14 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which environments are exposed?

The issue affects filelock versions before 4.3.0 on Windows, specifically when StrictSoftFileLock is used with an idle sentinel that a local account can read.

2

What access does an attacker need?

An attacker needs local access on the Windows system and read access to the idle StrictSoftFileLock sentinel. They can use a Windows opportunistic lock on that sentinel to delay lock acquisition.

3

Does this affect nonblocking lock acquisition?

Yes. The caller’s thread can remain blocked inside the operating system even when the acquisition was requested as nonblocking, and may exceed the requested timeout.

4

What should be done if immediate remediation is needed?

Upgrade filelock to version 4.3.0. Until then, restrict local read access to idle StrictSoftFileLock sentinel files where possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203