# GHSA-6W8W-M5RC-XHVP: Mixed strict and soft locks can overlap after foreign sentinel removal

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

## Tracked as

- [CVE-2026-144403](https://cve.now/CVE-2026-144403.md): filelock: Mixed strict and soft locks can overlap after foreign sentinel removal

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

On POSIX, a `StrictSoftFileLock` holder and a soft-lock client using the same path could both enter their critical sections if another account owned the sentinel in a shared sticky directory. This compromises mutual exclusion during a mixed-client migration. The report established overlapping holds.

## Affected versions and mitigation

Confirmed affected: `= 4.2.12`. Upgrade to `4.3.0`.

Strict acquisition now refuses a sentinel owned by an untrusted account. Use a directory writable only by the participating account, or use strict clients consistently. Where a shared sticky directory is required, provision the sentinel under the locking account or directory owner before adding clients. [Fix in PR #992](https://github.com/tox-dev/filelock/pull/992)

## Credits

OSS Scanner: ANT-2026-DYZMWIDJ (mixed strict/soft variant).

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-6w8w-m5rc-xhvp

Page: https://cve.now/GHSA-6W8W-M5RC-XHVP

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