CVE-2026-144352: filelock: ReadWriteLock write holds overlap on read-only SQLite header
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
filelockto a version that resolves this vulnerability.Fixed in 4.3.0
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments using filelock versions before 4.3.0 with ReadWriteLock backed by a shared SQLite lock database are exposed if another account can write to that lock database. The attacker requires local access, existing low-level privileges, and write permission to the lock database.
What is the impact if exploitation succeeds?
Two callers may simultaneously acquire a write lock, defeating the expected mutual exclusion. This can compromise integrity and availability for operations that rely on the lock to serialize writes.
What should be done if an immediate upgrade is not possible?
Restrict write access to the shared SQLite lock database so untrusted accounts cannot modify it. Upgrade to filelock 4.3.0 when possible.