filelock: Crafted lock database delays free ReadWriteLock acquisition
- CVE-2026-144336
- GHSA-qg3h-xpfc-449f
- EUVD-2026-143581
Summary
CVE-2026-144336 affects filelock, a platform-independent file lock library for Python, in versions prior to 4.3.0. If another local account can create or modify a SQLite lock database, loading its schema can consume CPU time beyond the acquisition timeout, even when the lock is actually free. Both ReadWriteLock and AsyncReadWriteLock load the schema, so both are affected. Testing confirmed that a finite timeout can be overrun. The issue is rated CVSS 3.3 and is not listed in the CISA known exploited vulnerabilities catalog. It is fixed in filelock 4.3.0, which is the version to upgrade to.
AI summary · verify against the vendor advisory
Description
filelock is a platform-independent file lock for Python. Prior to 4.3.0, if another local account can create or modify a SQLite lock database, loading its schema can consume CPU past the acquisition timeout even when the lock is free. Both ReadWriteLock and AsyncReadWriteLock load the schema. Tests confirmed a finite timeout overrun. 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.