filelock: SoftReadWriteLock admits overlapping writers after directory inode reuse
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| pip:filelock | < 4.3.0 | 4.3.0 |
On Linux, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later. Filelock now checks ownership and…
Read on GitHub Advisory Database
On 12/05/2026, 07:19 AM, GitHub Advisory Database published "filelock: SoftReadWriteLock admits overlapping writers after directory inode reuse" (type: Advisory). Severity is "Low" (low). Related technologies: Python. CVE: CVE-2026-144394.