# GHSA-J77V-QG7H-37QR: SoftReadWriteLock timeout overrun on growing generation log

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

## Tracked as

- [CVE-2026-144387](https://cve.now/CVE-2026-144387.md): filelock: SoftReadWriteLock timeout overrun on growing generation log

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

An account with write access to a `SoftReadWriteLock` generation directory can keep an acquisition scanning beyond its timeout and consume CPU. The overrun was confirmed during write acquisition.

## Affected versions and fix

The confirmed affected version is 4.2.12. Upgrade to filelock `4.3.0` or later. Each generation scan now has a work limit so acquisition can check its deadline between scans. A scan already in progress can still delay the timeout. [PR #981](https://github.com/tox-dev/filelock/pull/981)

## Workaround

Restrict write access to the lock's generation directory and its parent to trusted participants.

## Credits

Reported by OSS Scanner (ANT-2026-9RZ0TW4O).

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-j77v-qg7h-37qr

Page: https://cve.now/GHSA-J77V-QG7H-37QR

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