CVE-2026-144342: filelock: Read-only local account can stall strict lock acquisition on Windows
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to a shared strict-lock claims directory can delay a later StrictSoftFileLock acquisition beyond its timeout. This requires an aged private record left by an interrupted acquisition. The observed effect was a delayed acquisition. This issue is fixed in version 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.0
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Only Windows deployments using filelock versions earlier than 4.3.0 and StrictSoftFileLock with a shared strict-lock claims directory are affected. The attacker must have local read access to that directory.
What conditions are required to trigger the delay?
An interrupted lock acquisition must have left an aged private record in the claims directory. A local low-privileged account with read access can then delay a subsequent StrictSoftFileLock acquisition beyond its configured timeout.
What is the impact of successful exploitation?
The observed impact is delayed lock acquisition, which can exceed the configured timeout. The supplied information does not indicate confidentiality or integrity impact.
What should be done if an immediate upgrade is not possible?
Restrict local read access to shared strict-lock claims directories to accounts that require it. This reduces exposure by preventing read-only local accounts from meeting the stated access requirement.