AZL-118789: CVE-2026-144391 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 new StrictSoftFileLock sentinel can inherit group or other write permission. An account with that access can change the sentinel so that a SoftFileLock client enters the protected section while the strict lock remains held. This affects applications sharing a path between strict and legacy soft locks. 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 this issue?
On POSIX systems, applications are affected when they share a lock path between a StrictSoftFileLock and a legacy SoftFileLock. The issue applies to versions prior to 4.3.0.
What access does an attacker need?
The attacker needs an account that has group or other write permission on the newly created StrictSoftFileLock sentinel. That account can modify the sentinel to cause a SoftFileLock client to enter the protected section while the strict lock is still held.
What can be done if upgrading is not immediately possible?
Ensure that StrictSoftFileLock sentinel files are not writable by group or other accounts, and avoid sharing a path between strict and legacy soft locks. Upgrade to version 4.3.0 when possible.