AZL-118774: CVE-2026-144385 affecting package python-filelock 3.20.3-4
filelock is a platform-independent file lock for Python. Prior to 4.3.0, two ReadWriteLock callers can both enter write critical sections if another account can modify their shared SQLite lock database. The overlap can occur when the database changes to write-ahead logging (WAL) while acquisition is waiting. 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
What conditions are required for exploitation?
An attacker must be able to modify the SQLite database shared by ReadWriteLock callers. The race occurs while a lock acquisition is waiting and the database is changed to write-ahead logging (WAL) mode.
Who is exposed to this issue?
Deployments using filelock ReadWriteLock with a shared SQLite lock database that another account can modify are exposed. Callers using such a database can both enter write critical sections concurrently.
What is the remediation?
Upgrade filelock to version 4.3.0 or later. The issue affects versions prior to 4.3.0.
What can be done if an upgrade cannot be applied immediately?
Prevent other accounts from modifying the shared SQLite lock database. Restricting write access to that database removes the stated attacker capability needed to trigger the overlapping write critical sections.