CVE-2026-144350: filelock: SoftFileLock recovery can admit two holders through a live break name
filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, 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. This issue is fixed in version 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.0
Event History
Frequently Asked Questions
Which deployments are realistically exposed?
Deployments using SoftFileLock versions from 4.2.1 before 4.3.0 on POSIX filesystems that support atomic name exchange are affected. Exploitation additionally depends on use of a shared sticky lock directory where another local account can create markers.
What access does an attacker need?
An attacker needs local access sufficient to create markers in the shared sticky lock directory. They must race recovery activity so that an active recovery record is treated as abandoned.
What is the impact if exploitation succeeds?
Two processes can hold the same SoftFileLock and enter the protected critical section concurrently. This can compromise the integrity and availability of operations that rely on that lock for exclusive access.
What should teams do to remediate the issue?
Upgrade filelock to version 4.3.0. If an immediate upgrade is not possible, avoid shared sticky lock directories in which other local accounts can create markers.