CVE-2026-112909

GHSA-69hj-f68j-2879 · published 20 Oct 2026 · updated 16 Nov 2026

filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in filelock 4.2.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
tox-dev<4.2.1
pypi: filelock<=4.2.04.2.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in filelock (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112909 severity on Zeptric[![CVE-2026-112909](https://zeptric.io/badge/cve/CVE-2026-112909.svg)](https://zeptric.io/cve/CVE-2026-112909)