filelock: SoftFileLock removes a live holder's marker when another user forges the PID in a writable marker
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pipfilelock |
< 4.2.1→ 4.2.1 |
4.2.1 |
| PyPIfilelock |
≥ 3.22.0, < 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-112939 python-filelock Fix available
- Ubuntu UBUNTU-CVE-2026-112939 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 3.22.0 until 4.2.1, SoftFileLock can trust a forged process identifier in a marker that an attacker can modify but cannot remove, allowing an authorized contender such as another process of the holder's account or root to act as a confused deputy, remove the live marker, and admit another holder. 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
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com