Description
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.
Published: 2026-12-03
Score: 2.5 Low
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Dec 2026 19:30:00 +0000

Type Values Removed Values Added
Description 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.
Title FileLock on Unix lets two processes hold one lock after another user removes the lock file
Weaknesses CWE-667
References
Metrics cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-03T19:23:23.407Z

Reserved: 2026-12-03T19:10:37.362Z

Link: CVE-2026-144405

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-03T20:17:47.430

Modified: 2026-12-03T20:17:47.430

Link: CVE-2026-144405

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses