CVE-2026-144404: filelock: Read-only handles can strand strict lock claims on Windows
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a process with read access to strict-lock claims can cause StrictSoftFileLock.release() to fail. A published claim can continue blocking later acquisitions after the reader closes its handle. The handle behavior was confirmed on Windows 11. This issue is fixed in version 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
filelockto a version that resolves this vulnerability.Fixed in 4.3.0
Event History
Frequently Asked Questions
Which environments are affected?
The issue affects filelock installations prior to 4.3.0 on Windows. The problematic handle behavior was confirmed on Windows 11.
What does an attacker or triggering process need to do?
A process needs read access to strict-lock claims. It can cause StrictSoftFileLock.release() to fail, leaving a published claim that continues to block later lock acquisitions even after the reader closes its handle.
Are applications using other locking modes affected?
The provided information specifically identifies strict-lock claims and StrictSoftFileLock.release(). It does not establish impact for other locking modes.
What should teams do to remediate the issue?
Upgrade filelock to version 4.3.0 or later. The issue is fixed in 4.3.0.