filelock: SoftFileLock evicts a fresh lock file whose watched age another local user's pre-dated file passed on through inode reuse
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pipfilelock |
< 4.2.1→ 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.
- Debian DEBIAN-CVE-2026-112906 python-filelock Fix available
- Ubuntu UBUNTU-CVE-2026-112906 python-filelock No fixed version in this record
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com
- web github.com