AZL-118747: CVE-2026-144340 affecting package python-filelock 3.20.3-4
filelock is a platform-independent file lock for Python. Prior to 4.3.0, concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. This issue is fixed in version 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
python-filelockto a version that resolves this vulnerability.Fixed in 4.3.0
Event History
Frequently Asked Questions
Which deployments are realistically exposed to this issue?
Exposure requires an application using concurrent AsyncSoftReadWriteLock waits and lock paths that another account can influence. A group-writable, non-sticky directory is an example of a risky lock-file location.
What must an attacker be able to do to exploit the condition?
An attacker needs influence over the paths used for locks and enough simultaneous lock waits to occupy every worker in the process's default executor. The impact described is delayed release of an unrelated private lock in that same process.
What should be done if an immediate upgrade is not possible?
Avoid placing lock paths in locations another account can influence, including group-writable non-sticky directories. Reducing or preventing enough concurrent AsyncSoftReadWriteLock waits to exhaust the default executor also limits the stated trigger conditions.
How can I determine whether my application is affected?
Review whether it uses AsyncSoftReadWriteLock concurrently, whether those waits can saturate the default executor, and whether any lock-file paths are writable or controllable by another account. The issue affects versions prior to 4.3.0; version 4.3.0 is identified as fixed.