CVE-2026-144384: filelock: Soft locks admit overlapping holders with a foreign procfs mount
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Linux, a soft lock can mistake a live holder for a stale one when the locking processes see a /proc mount from a different PID namespace. If the same numeric PID identifies an unrelated process in that namespace, changes to that process can allow two holders into the protected section at the same time. This issue is fixed in version 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.0
Event History
Frequently Asked Questions
Who is exposed to this issue?
Linux deployments using filelock soft locks before version 4.3.0 are exposed when locking processes observe a /proc mount from a different PID namespace. The issue depends on a numeric PID in that observed namespace belonging to an unrelated process.
What does an attacker or interfering process need to cause overlapping lock holders?
The process needs local access and low privileges, and exploitation requires the PID-namespace and foreign-procfs condition described above. Changes to the unrelated process sharing the numeric PID can cause a live lock holder to be treated as stale.
What is the impact if the issue is exploited?
Two processes can enter the section protected by the soft lock at the same time. The reported impact is limited to integrity; no confidentiality or availability impact is identified.
How can this be remediated?
Upgrade filelock to version 4.3.0 or later. The issue is fixed in version 4.3.0.