FileLock on Unix lets two processes hold one lock after another user removes the lock file
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| pip:filelock | >= 3.13.2, <= 4.2.11 | 4.2.12 |
On Unix, FileLock locks a regular file that already exists at the lock path, including one another local account created. Under a sticky directory such as /tmp that account owns the file and may remove it while a process holds the lock. The next process to acquire the lock creates and locks a new file at the same path, so two processes hold the same exclusive lock. [oss-security-shopify](https://github.com/oss-security-shopify) reported this through private vulnerability reporting as GHSA-386w-…
Read on GitHub Advisory Database
On 12/05/2026, 07:16 AM, GitHub Advisory Database published "FileLock on Unix lets two processes hold one lock after another user removes the lock file" (type: Advisory). Severity is "Low" (low). Related technologies: Python. CVE: CVE-2026-144405.