# GHSA-GQJ6-5294-R46R: Strict soft lock can chmod unrelated directory

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

## Tracked as

- [CVE-2026-144381](https://cve.now/CVE-2026-144381.md): filelock: Strict soft lock can chmod unrelated directory

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

In a group-writable directory without the sticky bit, `StrictSoftFileLock` can mistake an unrelated directory owned by the locking account for its coordination directory. It can change that directory's permissions and create a claims directory inside it, disrupting access for other users.

## Affected versions and fix

The confirmed affected version is 4.2.12. Upgrade to filelock `4.3.0` or later. The lock checks the claims directory and its entries before changing permissions. [PR #978](https://github.com/tox-dev/filelock/pull/978)

## Workaround

Use a trusted parent directory where other accounts cannot rename entries.

## Credits

Reported by OSS Scanner (ANT-2026-8ERL4V7J).

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-gqj6-5294-r46r

Page: https://cve.now/GHSA-GQJ6-5294-R46R

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