CVE-2026-144389: filelock: Windows read-handle oplock holds stale soft-lock recovery past timeout
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to a stale soft-lock marker can delay recovery beyond the caller’s acquisition timeout. This affects SoftFileLock, MarkerSoftFileLock and SoftFileLease when another process holds a read-handle opportunistic lock on the stale marker. The delay is caused by a Windows opportunistic lock (oplock). 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 deployments are affected?
Affected deployments use filelock before 4.3.0 on Windows and rely on SoftFileLock, MarkerSoftFileLock, or SoftFileLease. The issue concerns recovery from a stale soft-lock marker.
What access does an attacker need to trigger the delay?
A local account needs read access to the stale soft-lock marker and must hold a read-handle opportunistic lock on that marker. The resulting recovery delay can exceed the caller's configured acquisition timeout.
Are confidentiality or integrity affected?
The provided severity vector indicates no confidentiality or integrity impact. The impact is limited to availability, through delayed lock recovery.
What is the remediation?
Upgrade filelock to version 4.3.0, which fixes the issue.