CVE-2026-144350: Race Condition and Mutual Exclusion Bypass in Python filelock SoftFileLock
Vulnerability ID: CVE-2026-144350
CVSS Score: 3.6
Published: 2026-12-04
CVE-2026-144350 is a local race condition and insufficient data authenticity verification vulnerability in the Python filelock library (versions 4.2.1 prior to 4.3.0). On POSIX filesystems supporting atomic name exchange, SoftFileLock._stranded_candidates() fails to verify whether the process identifier associated with a lock-break file is currently running. Consequently, contending processes can misidentify an active recovery record as abandoned, leading to concurrent lock acquisition where two processes enter the same critical section simultaneously.
TL;DR
A flaw in Python's filelock library (4.2.1 to < 4.3.0) allows SoftFileLock on POSIX systems with atomic name exchange to misidentify active lock-break records as abandoned.…