CVE-2026-112909

Medium

Description

filelock is a platform-independent file lock for Python. Prior to 4.2.1, UnixFileLock can truncate a regular file renamed onto the lock path when another local user has actual rename permission, or hard-linked there under a permissive hard-link policy; when an explicit mode is requested, affected versions from 3.10.2 can also change that file's mode. 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-706CWE-706

How to fix

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

Affected products

ProductAffected versionsFixed in
tox-dev filelockv < 4.2.14.2.1
filelockPyPIv ≤ 4.2.04.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.