filelock: Failed async lock construction disables fork resets for other locks
- CVE-2026-144335
- GHSA-cx2x-xp53-fq3w
- EUVD-2026-143661
Summary
The filelock Python library, before version 4.3.0, has a POSIX-specific flaw where an AsyncReadWriteLock constructor failure can prevent a forked child process from resetting unrelated locks, including locks in private directories. Exploitation requires the process to keep the failed construction and then fork. A local account able to populate an optional lock path could trigger the initial failure. Overlapping lock holds were only demonstrated when the child reused an active SQLite lock before exec, which is an unsupported operation. The CVSS score is 4.7, and the issue is fixed in version 4.3.0. It is not listed in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
Description
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, an AsyncReadWriteLock constructor failure could prevent a forked child from resetting unrelated locks, including locks in private directories. The process had to retain the failed construction and then fork. A local account able to populate an optional lock path could cause the initial failure. Overlapping holds were demonstrated only when the child reused an active SQLite lock before exec, an unsupported operation. 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.