AZL-118756: CVE-2026-144352 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 acquire a write lock if the shared SQLite database advertises a write format that SQLite treats as read-only. Another account needs write access to the lock database. This issue is fixed in version 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.0
Event History
Frequently Asked Questions
What access does an attacker need to exploit this issue?
The attacker needs write access to the shared SQLite lock database used by ReadWriteLock callers. The issue involves altering the database's advertised write format so SQLite treats it as read-only.
When is an installation exposed?
Exposure requires use of ReadWriteLock with a shared SQLite lock database that another account can modify. The supplied information does not indicate that a default configuration grants another account write access to that database.
What is the remediation?
Upgrade python-filelock to version 4.3.0 or later. The issue is fixed in version 4.3.0.
What can be done until an upgrade is available?
Restrict write access to the shared SQLite lock database so untrusted or separate accounts cannot modify it. This removes the stated prerequisite for exploitation.