NetSight
medium4.7

CVE-2026-112906

filelock: SoftFileLock evicts a fresh lock file whose watched age another local user's pre-dated file passed on through inode reuse

Impact

filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftFileLock versions from 4.1.0 can reuse a stale observation when an attacker pre-dates and removes its own marker, at least two lock-user processes are waiting, coarse or matching modification times preserve the observation, and an honest contender creates a fresh marker on the reused inode, causing that live marker to be removed as stale. This issue is fixed in version 4.2.1.

Affected packages

EcosystemPackageAffectedFixed in
pipfilelock>= 4.1.0, <= 4.2.04.2.1

Affected products

VendorProductAffected versions
Tox-DevFilelock
from 4.1.0 before 4.2.1

Weakness classification

References