# GHSA-69RV-9GXW-R2JH: SoftFileLock recovery can admit two holders through a foreign-owned record

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

## Tracked as

- [CVE-2026-144351](https://cve.now/CVE-2026-144351.md): filelock: SoftFileLock recovery can admit two holders through a foreign-owned record

## Affected versions

- filelock (PyPI): from 4.2.1, through 4.2.12

## Description

## Impact

During stale-marker recovery, `SoftFileLock` can admit two holders if another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock.

## Affected versions and fix

Versions 4.2.1 through 4.2.12 are affected. Upgrade to filelock `4.3.0` or later. Recovery keeps foreign-owned records away from the public lock path. [PR #975](https://github.com/tox-dev/filelock/pull/975)

## Workaround

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

## Credits

Reported by OSS Scanner (ANT-2026-5VU02NND).

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-69rv-9gxw-r2jh

Page: https://cve.now/GHSA-69RV-9GXW-R2JH

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