filelock: SoftFileLock recovery can admit two holders through a foreign-owned record
- CVE-2026-144351
- GHSA-69rv-9gxw-r2jh
- EUVD-2026-143592
Summary
The filelock Python library, versions 4.2.1 through 4.3.0, has a flaw in SoftFileLock stale-marker recovery. When a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory, the lock can admit two holders at once. Exploitation requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock, so mutual exclusion is broken. The issue is fixed in version 4.3.0. The CVSS score is 3.6, and the record does not list the vulnerability as known exploited.
AI summary · verify against the vendor advisory
Description
filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, during stale-marker recovery, SoftFileLock can admit two holders when a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. This issue is fixed in version 4.3.0.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
tox-dev filelock
Affected versions Fixed in >= 4.2.1, < 4.3.0 none stated filelockPyPI
Affected versions Fixed in from 4.2.1 up to 4.2.12 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.