FileLock on Unix lets two processes hold one lock after another user removes the lock file
- Exploited
- No known exploitation
- Fix
- Fixed in 4.2.12
- Who is exposed
- Not reported
Summary
filelock is a platform-independent file lock for Python. From 3.13.2 until 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 reported this through private vulnerability reporting as GHSA-386w-3w6q-9c53, received on 17 November 2026. The affected native Unix lock is UnixFileLock, which FileLock selects where fcntl is available. Two cooperating processes run the protected section at the same time, so whatever the application guards with the lock can be written twice or left inconsistent. The attacker gains no access to that resource and no code execution. What the overlap costs depends on the application and is not established here. This issue is fixed in version 4.2.12.
What to do
Upgrade to a fixed version: 4.2.12.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-144405 (FileLock on Unix lets two processes hold one lock after another user removes the lock file), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-144405 (entry last updated 2026-12-03):
Affected:
- tox-dev filelock: from 3.13.2, fixed in 4.2.12
Fixed versions: 4.2.12.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-144405 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-144405 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/tox-dev/filelock/security/advisories/GHSA-386w-3w6q-9c53
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-144405
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-144405"}.Affected versions
- tox-dev filelockFrom 3.13.2 · fixed in 4.2.12
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach?/20Unknown. No tracked technology or package matched
- Severity2.5/10CVSS 2.5
- No patch0/5No signal
What would change the score
- Would score about 58 if added to CISA KEV
- Would score about 53 if CISA's SSVC rates exploitation active
- Would score about 25 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 6
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · tox-dev/filelock · Advisory GHSA-386w-3w6q-9c53 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-144405 |
| Record | NVD · CVE-2026-144405 |
| Other links 3 | |
| Repository | GitHub · tox-dev/filelock · Pull request #968 |
| Repository | GitHub · tox-dev/filelock · Commit 571eb998 |
| Repository | GitHub · tox-dev/filelock · Release 4.2.12 |
Questions about CVE-2026-144405
Is CVE-2026-144405 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-144405?
filelock: from 3.13.2 before 4.2.12.
Source: cve.now feed data
How do I fix CVE-2026-144405?
Upgrade to a fixed version: 4.2.12.
Source: cve.now feed data
Related
- CVE-2026-144395filelock: ReadWriteLock can overwrite victim-owned files through a directory swap
- CVE-2026-144391filelock: Writable strict sentinel can admit a soft lock beside its holder
- CVE-2026-144385filelock: ReadWriteLock write holds overlap after WAL header race
- CVE-2026-144383filelock: Failed async release can unlock under a later holder
- CVE-2026-144382filelock: Linux overflow UID can admit attacker-owned lock trees
- CVE-2026-144381filelock: Strict soft lock can chmod unrelated directory
No corrections so far. Something wrong on this page? Report an error.