filelock: Writable strict sentinel can admit a soft lock beside its holder
- CVE-2026-144391
- GHSA-q5j8-xrw5-8mhf
- EUVD-2026-143606
Summary
The filelock Python library, prior to version 4.3.0, has a POSIX permissions issue affecting the new StrictSoftFileLock sentinel, which can inherit group or other write permission. An account with that access can modify the sentinel so that a SoftFileLock client enters the protected section while the strict lock is still held. The problem only affects applications that share one path between strict and legacy soft locks. The CVSS score is 3.6, and the record does not indicate that the issue is on the CISA known exploited list. The issue is fixed in filelock 4.3.0.
AI summary · verify against the vendor advisory
Description
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.
Text from the CVE.org record.
Recommendation
filelock
- If you run a version before 4.3.0update to 4.3.0 or laterfilelock 4.3.0 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
tox-dev filelock
Affected versions Fixed in < 4.3.0 none stated filelockPyPI
Affected versions Fixed in before 4.3.0 4.3.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.