# GHSA-Q5J8-XRW5-8MHF: Writable strict sentinel can admit a soft lock beside its holder

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

## Tracked as

- [CVE-2026-144391](https://cve.now/CVE-2026-144391.md): filelock: Writable strict sentinel can admit a soft lock beside its holder

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

On POSIX, a new `StrictSoftFileLock` sentinel can inherit group or other write permission. An account with that access can change the sentinel so that a `SoftFileLock` client enters the protected section while the strict lock remains held. This affects applications sharing a path between strict and legacy soft locks.

## Affected version and mitigation

The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later.

Filelock now removes group and other write permission when creating strict sentinels and claims. Existing files retain their permissions. Use a private lock directory. If another account had write access to an existing sentinel, stop all clients and replace the sentinel before reusing the path. [Fix in PR #985](https://github.com/tox-dev/filelock/pull/985).

## Credits

Reported by the filelock scanner: ANT-2026-IHP04UFY.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-q5j8-xrw5-8mhf

Page: https://cve.now/GHSA-Q5J8-XRW5-8MHF

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