FileLock on Unix lets two processes hold one lock after another user removes the lock file
CVE-2026-144405
Summary 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-3w6q-9c53, received on 17 November 2026. Affected area Acquisition of the native Unix lock, UnixFileLock, which FileLock names where fcntl is available. Attacker-controlled input Another local account must be able to create the lock file before the victim does, in a sticky directory both can write, and must know or guess the lock path. It does not need access to the resource the lock protects, and it does not need to win a race: it removes the file at any time during a hold. Affected code In 4.2.11, [openlockfile](https://github.com/tox-dev/filelock/blob/554c37b565dba0e0a5a92e4064cefc057a309da4/src/filelock/unix.py#L127-L152) opens an existing file when the exclusive create fails,…
Assessment
- CVSS
- 2.5 (v3.1)
- Severity
- Low
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 4 December 2026
- Last updated
- 4 December 2026
- Weakness
- CWE-667
- Assigner
- security-advisories@github.com
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
At the source
References
- https://github.com/tox-dev/filelock/security/advisories/GHSA-386w-3w6q-9c53
- https://nvd.nist.gov/vuln/detail/CVE-2026-144405
- https://github.com/tox-dev/filelock/pull/968
- https://github.com/tox-dev/filelock/commit/571eb998ea65c1cdd54157c70e4c592e6ac3cd04
- https://github.com/tox-dev/filelock/releases/tag/4.2.12
- https://github.com/advisories/GHSA-386w-3w6q-9c53
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-144405