Skip to content
Medium 4.7

filelock: SoftFileLock stale-lock break removes a live lock file on a reused inode number and admits two holders

CVE-2026-112935 First seen on SecPulse

Affected packages

PackageAffected → Fixed
tox-devfilelock —
pipfilelock
< 4.2.1→ 4.2.1
PyPIfilelock
≥ 3.22.0, < 4.2.1→ 4.2.1

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, SoftFileLock can break a stale marker after an attacker frees its own marker following the stale read, an honest contender creates a live successor on the reused inode, and the successor's modification time is not newer than the saved observation, causing the live marker to be removed and two holders to be admitted. This issue is fixed in version 4.2.1.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details