# GHSA-GVHC-QMQX-22PQ: SoftFileLock recovery can admit two holders through a live break name

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

## Tracked as

- [CVE-2026-144350](https://cve.now/CVE-2026-144350.md): filelock: SoftFileLock recovery can admit two holders through a live break name

## Affected versions

- filelock (PyPI): from 4.2.1, through 4.2.12

## Description

## Impact

On POSIX filesystems with atomic name exchange, `SoftFileLock` can misidentify an active recovery record as abandoned. If another local account can create markers in the shared sticky lock directory, racing recoveries can let two holders enter the same critical section.

## Affected versions and fix

Versions 4.2.1 through 4.2.12 are affected. Upgrade to filelock `4.3.0` or later. Recovery leaves a break record in place while the process identified by its name is running. PID reuse can therefore delay cleanup. [PR #974](https://github.com/tox-dev/filelock/pull/974)

## Workaround

Keep the lock in a directory writable only by trusted participants.

## Credits

Reported by OSS Scanner (ANT-2026-01PM0HYF).

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-gvhc-qmqx-22pq

Page: https://cve.now/GHSA-GVHC-QMQX-22PQ

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