CVE-2026-112937

MEDIUM CVSS 3.1: 6.1 EPSS 0.16%
Updated Oct 21, 2026
Tox-Dev
Parameter Value
CVSS 6.1 (MEDIUM)
Fixed In 4.2.1
Type CWE-367 (Time-of-check Time-of-use (TOCTOU))
Vendor Tox-Dev
Public PoC No

filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, ReadWriteLock can remove a randomized .filelock-* private-hard-link directory during cleanup, allowing another local user with rename access in a non-sticky parent to observe a live name or forge a dead-owner sweep name and rename a sibling directory onto it for deletion. This issue is fixed in version 4.2.1.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
Low
Partial disruption

CVSS Vector v3.1

Vulnerable Products

tox-dev:filelock