CVE-2026-144385: filelock: ReadWriteLock write holds overlap after WAL header race
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 to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.0
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using filelock ReadWriteLock before version 4.3.0 are exposed when another account can modify the shared SQLite lock database.
What access does an attacker need?
An attacker needs the ability to modify the shared SQLite lock database. The write-lock overlap can occur while acquisition is waiting and the database changes to write-ahead logging mode.
What version addresses the issue?
The issue is fixed in filelock version 4.3.0.