
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-144350 is a race condition vulnerability in the filelock Python library's SoftFileLock implementation that can allow two processes to simultaneously enter the same critical section. On POSIX filesystems with atomic name exchange, the recovery logic in SoftFileLock can misidentify an active recovery record as abandoned when PID reuse occurs, enabling a race between competing recovery attempts. The vulnerability affects filelock versions 4.2.1 through 4.2.12 (inclusive) and is fixed in version 4.3.0. It carries a CVSS v3.1 base score of 3.6 (Low) (GitHub Advisory).
The root cause is classified as CWE-345 (Insufficient Verification of Data Authenticity). The _stranded_candidates method in _soft.py scanned for .break..<pid>.* marker files and treated any marker associated with a stale start token as abandoned — without verifying whether the PID in the break name currently belongs to a live process performing an active recovery. Because POSIX systems reuse PIDs, a stale marker could name a recycled PID whose current process is still in the middle of restoring a live holder's marker. A local attacker with write access to the shared sticky lock directory (e.g., /tmp) could plant markers to trigger this misidentification, causing the recovery sweep to move an active breaker's file and leave the lock path available to a second contender. The fix in PR #974 adds a liveness check: before claiming a break name, the recovery scan now verifies whether a process with that PID is currently running, and if so, waits rather than proceeding (GitHub PR #974, Fix Commit).
Successful exploitation can break mutual exclusion guarantees enforced by SoftFileLock, allowing two processes to concurrently hold what should be an exclusive lock and simultaneously execute code within the same critical section. This can lead to data corruption, inconsistent application state, or partial availability loss in applications that rely on filelock for coordinating access to shared resources. Confidentiality is not directly impacted, but integrity and availability are both rated Low given the limited and local scope of the attack (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported. The vulnerability was discovered and reported by an automated OSS Scanner (ANT-2026-01PM0HYF) rather than through active exploitation. Exploitation requires low-privileged local access and high attack complexity due to the need to win a race condition involving PID reuse and concurrent recovery operations. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (GitHub Advisory, Feedly).
renameat2 RENAME_EXCHANGE), and that the lock directory is a shared sticky directory (e.g., /tmp)..break..<pid>.* marker files created during SoftFileLock recovery operations._stranded_candidates sweep encounters the planted marker while the recycled PID's process is actively recovering a live holder's marker, causing the sweep to incorrectly claim and move the live breaker's file..break..<pid>.* or .restore..<pid>.* marker files appearing in shared sticky lock directories (e.g., /tmp) created by processes not associated with the legitimate application.SoftFileLock (GitHub PR #974).Upgrade filelock to version 4.3.0 or later, which contains the fix introduced in PR #974 and commit 13dae4c. As a temporary workaround, restrict the lock directory so that only trusted participants can write to it — this prevents untrusted local accounts from planting markers that trigger the race condition. On systems where upgrading immediately is not possible, avoid placing SoftFileLock files in world-writable sticky directories such as /tmp (GitHub Advisory, Release 4.3.0).
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
python-filelock
devel
python-filelock
focal (esm-apps)
python-filelock
jammy
python-filelock
jammy (esm-apps)
python-filelock
noble
python-filelock
noble (esm-apps)
python-filelock
resolute
python-filelock
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."