CVE-2026-144334: filelock: Planted Windows path prevents private soft-lock recovery
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account allowed to create drive-root directories can influence the owner identity recorded by SoftFileLock and MarkerSoftFileLock, including for locks in a private directory. If the holder dies, later processes can mistake the dead owner's marker for a remote hold and leave the lock unavailable. This issue is fixed in version 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.0
Event History
Frequently Asked Questions
Which environments are exposed?
The issue affects filelock versions before 4.3.0 on Windows. It applies when a local account can create directories at a drive root.
What access does an attacker need?
An attacker needs local access with permission to create drive-root directories. The issue does not describe remote exploitation.
What is the operational impact?
A local account can influence the owner identity recorded by SoftFileLock and MarkerSoftFileLock, including locks stored in a private directory. If a lock holder dies, later processes may treat its marker as a remote hold and leave the lock unavailable.
What version fixes the issue?
Upgrade filelock to version 4.3.0 or later.