CVE-2026-112937

Medium

Description

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductTox-dev Filelock
PublishedOct 20, 2026
First seenOct 20, 2026
Weakness typeCWE-367CWE-367

How to fix

Update
  • tox-dev filelock4.2.1 or later
  • filelock4.2.1 or later

Affected products

ProductAffected versionsFixed in
tox-dev filelock4.1.0 ≤ v < 4.2.14.2.1
filelockPyPI4.1.0 ≤ v < 4.2.14.2.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.