filelock: Untrusted lock waits can stall release of private async locks
- CVE-2026-144340
- GHSA-c7vg-7rqj-fjhq
- EUVD-2026-143585
Summary
In the Python filelock library, versions before 4.3.0 have a flaw in which concurrent AsyncSoftReadWriteLock waits can occupy every worker in the default executor, delaying the release of an unrelated private lock in the same process. Exploitation needs enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. The issue is rated CVSS 4.7 and is not listed in the CISA known exploited vulnerabilities catalog. The fix is available in version 4.3.0, so teams running earlier releases that handle async locks on shared paths should plan to upgrade.
AI summary · verify against the vendor advisory
Description
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.
Text from the CVE.org record.
Recommendation
filelock
- If you run a version before 4.3.0update to 4.3.0 or laterfilelock 4.3.0 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
tox-dev filelock
Affected versions Fixed in < 4.3.0 none stated filelockPyPI
Affected versions Fixed in before 4.3.0 4.3.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.