CVE-2026-144350 is a low-severity (CVSS 3.6) CWE-345 vulnerability in filelock. A fix is available for filelock — see the affected versions and patch details below.
filelock: SoftFileLock recovery can admit two holders through a live break name
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
filelockReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Impact
On POSIX filesystems with atomic name exchange, SoftFileLock can misidentify an active recovery record as abandoned. If another local account can create markers in the shared sticky lock directory, racing recoveries can let two holders enter the same critical section.
Affected versions and fix
Versions 4.2.1 through 4.2.12 are affected. Upgrade to filelock 4.3.0 or later. Recovery leaves a break record in place while the process identified by its name is running. PID reuse can therefore delay cleanup. PR #974
Workaround
Keep the lock in a directory writable only by trusted participants.
Credits
Reported by OSS Scanner (ANT-2026-01PM0HYF).
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | filelock | ≥ 4.2.1&&< 4.3.0 | 4.3.0pip install --upgrade 'filelock==4.3.0' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for filelock, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update filelock to 4.3.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-144350 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This flaw is rated as Low severity because exploitation requires local system access, specific filelock usage with SoftFileLock in shared sticky directories, and winning a tight race condition during recovery. In standard Red Hat Enterprise Linux deployments, lock files are generally maintained within user-isolated or…
To mitigate this flaw, configure applications utilizing the filelock library to store lock files in dedicated, user-restricted directories (such as /run/user/$UID or private application paths) rather than shared world-writable locations like /tmp. Ensuring that untrusted local accounts cannot write to or create markers in the lock directory prevents the conditions necessary to trigger the recovery race condition.Source: Red Hat security advisory for CVE-2026-144350 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-144350 in your dependencies?
Find it across PyPI, including transitive dependencies.