# GHSA-JW9G-H6RH-JP8V: SoftReadWriteLock admits overlapping writers through a moved writable tree

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

## Tracked as

- [CVE-2026-144393](https://cve.now/CVE-2026-144393.md): filelock: SoftReadWriteLock admits overlapping writers through a moved writable tree

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

On POSIX, `SoftReadWriteLock` can accept a protocol directory whose owner it trusts but whose permissions allow another account to write. In a shared sticky lock location, an account with control over such a directory can cause two processes to hold write locks concurrently without a compromise notification.

## Affected version and mitigation

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

Filelock now checks the ownership and permissions of every protocol directory against the sticky lock parent and rejects unsafe trees. Use a private lock directory. If an unsafe tree already exists, stop all clients before removing it and letting filelock recreate it. [Fix in PR #988](https://github.com/tox-dev/filelock/pull/988).

## Credits

OSS Scanner: ANT-2026-UHV8G0TA.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-jw9g-h6rh-jp8v

Page: https://cve.now/GHSA-JW9G-H6RH-JP8V

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