# GHSA-FFF3-XPX8-WVVV: SoftReadWriteLock admits overlapping writers after directory inode reuse

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

## Tracked as

- [CVE-2026-144394](https://cve.now/CVE-2026-144394.md): filelock: SoftReadWriteLock admits overlapping writers after directory inode reuse

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

On Linux, two processes can both hold a `SoftReadWriteLock` write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, 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 ownership and permissions each time it opens a protocol directory. Keep the lock tree in place while lock instances are in use. If the tree must be removed, stop the processes that used it before resuming lock operations. [Fix in PR #988](https://github.com/tox-dev/filelock/pull/988).

## Credits

OSS Scanner: ANT-2026-STIBT5PU.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-fff3-xpx8-wvvv

Page: https://cve.now/GHSA-FFF3-XPX8-WVVV

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