# GHSA-H4MC-MQXC-5VRM: Soft locks admit overlapping holders with a foreign procfs mount

- Database: GitHub
- Severity: CVSS 2.5 (Low)
- Published: 2026-11-22
- Modified: 2026-12-03

## Tracked as

- [CVE-2026-144384](https://cve.now/CVE-2026-144384.md): filelock: Soft locks admit overlapping holders with a foreign procfs mount

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

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.

## Affected version and mitigation

The confirmed affected release is filelock 4.2.12. Upgrade all processes sharing the lock to 4.3.0 or later. Configure each process’s `/proc` mount to match its PID namespace.

Filelock now uses PID-based liveness checks when the mount cannot supply a reliable process start token. In that configuration, PID reuse can leave a dead holder’s marker in place until its configured lifetime expires or an operator verifies that the lock is abandoned and clears it. [Fix in PR #983](https://github.com/tox-dev/filelock/pull/983).

## Credits

OSS Scanner: ANT-2026-3MQM64BY.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-h4mc-mqxc-5vrm

Page: https://cve.now/GHSA-H4MC-MQXC-5VRM

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
