AZL-118804: CVE-2026-144403 affecting package python-filelock 3.20.3-4
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, a StrictSoftFileLock holder and a soft-lock client using the same path could both enter their critical sections if another account owned the sentinel in a shared sticky directory. This compromises mutual exclusion during a mixed-client migration. The report established overlapping holds. This issue is fixed in version 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
python-filelockto a version that resolves this vulnerability.Fixed in 4.3.0
Event History
Frequently Asked Questions
Which deployments are exposed to the locking failure?
POSIX deployments using both StrictSoftFileLock and a soft-lock client on the same lock path during a mixed-client migration are affected when the sentinel is in a shared sticky directory and is owned by another account.
What condition is required for conflicting critical sections to occur?
Another account must own the sentinel file in the shared sticky directory. Under that condition, a StrictSoftFileLock holder and a soft-lock client using the same path can hold the lock concurrently.
How can I determine whether my environment needs remediation?
Check whether python-filelock is earlier than 4.3.0, whether it runs on POSIX, and whether both lock-client types use the same path in a shared sticky directory. Also inspect ownership of the sentinel file for those lock paths.
What can be done if upgrading is not immediately possible?
Avoid mixed use of StrictSoftFileLock and soft-lock clients on the same path in shared sticky directories, particularly where another account owns the sentinel. Upgrade to version 4.3.0 when possible.