AZL-118795: CVE-2026-144393 affecting package python-filelock 3.20.3-4
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, SoftReadWriteLock can accept a protocol directory whose owner it trusts but whose permissions allow another account to write. In a shared sticky lock location, an account with control over such a directory can cause two processes to hold write locks concurrently without a compromise notification. 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, deployments using SoftReadWriteLock are exposed when its protocol directory is in a shared sticky lock location and is owned by a trusted account but writable by another account. The issue depends on that unsafe directory-permission condition.
What does an attacker need to exploit it?
The attacker needs control over a protocol directory in the shared sticky lock location where another account can write despite the directory being trusted by its owner. They can then cause two processes to hold write locks at the same time without a compromise notification.
What should be done if patching cannot happen immediately?
Restrict write access to protocol directories used by SoftReadWriteLock so that no untrusted account can modify them. Avoid using shared sticky lock locations with protocol directories that are writable by another account.
How can I determine whether my configuration is affected?
Check whether the application uses SoftReadWriteLock on POSIX and whether its protocol directory is located in a shared sticky lock location. Inspect ownership and permissions to identify directories trusted by their owner but writable by a different account.