filelock: ReadWriteLock can delete a private file from a leftover SQLite journal
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| pip:filelock | < 4.3.0 | 4.3.0 |
A ReadWriteLock database can retain an untrusted SQLite journal after its directory changes from shared to private. Opening the database can delete an unrelated file that the locking account has permission to read and remove. Changing directory permissions does not remove existing journals. Affected versions and fix The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. When SQLite side files are present, the lock opens the database through a private hard link. [PR #976](…
Read on GitHub Advisory Database
On 12/05/2026, 07:44 AM, GitHub Advisory Database published "filelock: ReadWriteLock can delete a private file from a leftover SQLite journal" (type: Advisory). Severity is "Low" (low). Related technologies: Python, SQLite. CVE: CVE-2026-144353.