# CVE-2026-144405: FileLock on Unix lets two processes hold one lock after another user removes the lock file

Status: published. Published: 2026-12-03. Updated: 2026-12-03.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- tox-dev / filelock: >= 3.13.2, < 4.2.12 (affected). Source: CNA: GitHub_M

## Severity and prioritization

- CVSS 3.1: 2.5 (low); CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-667

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-386w-3w6q-9c53 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/tox-dev/filelock/pull/968 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/tox-dev/filelock/commit/571eb998ea65c1cdd54157c70e4c592e6ac3cd04 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/tox-dev/filelock/releases/tag/4.2.12 (CNA: GitHub_M; x_refsource_MISC)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-144405; retrieved 2026-12-03; source updated 2026-12-03

Revision: 706fb99c209e160f191860a9d1d4e9b2ff6eec5daf2355e367ebebe264fb169c

Canonical: https://y2.dev/cve/CVE-2026-144405

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.