CVE-2026-144333: filelock: Planted claims delay bounded StrictSoftFileLock acquires
filelock is a platform-independent file lock for Python. Prior to 4.3.0, if another local account can write to a StrictSoftFileLock claims directory, a crowded directory can delay nonblocking and timed acquisitions and increase the caller's memory use. The effect concerns availability of that shared lock. 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
Who is exposed to this issue?
Applications using filelock before version 4.3.0 are affected when another local account can write to the claims directory used by a StrictSoftFileLock. The impact is limited to availability of that shared lock.
What does an attacker need to exploit it?
An attacker needs local access through an account that can write to the relevant StrictSoftFileLock claims directory. By planting claims in a crowded directory, they can delay nonblocking and timed lock acquisition attempts and increase the caller's memory use.
What should be done if upgrading is not immediately possible?
Restrict write access to the StrictSoftFileLock claims directory so untrusted local accounts cannot create claims there. Upgrade filelock to version 4.3.0 when possible.