filelock is a platform-independent file lock for Python. From 4.0.0 until 4.2.1, SoftReadWriteLock refreshes holder records by name, allowing another local user with rename access to the lock directory to replace a record with a named pipe and stall the lock, or under a permissive hard-link policy to link a reachable target file and cause the lock user to write through it. This issue is fixed in version 4.2.1.
CVE-2026-112934
CVSS base score
6.1 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-62
Last modified
October 22, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Affected products
tox-dev filelock
References
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Exploit, Mitigation, Vendor Advisory
- github.com Exploit, Mitigation, Vendor Advisory