# GHSA-5QXG-3G64-7G62: Shared-directory entries delay read-write locks beyond timeout

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

## Tracked as

- [CVE-2026-144338](https://cve.now/CVE-2026-144338.md): filelock: Shared-directory entries delay read-write locks beyond timeout

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

On POSIX, another account with write access to the parent directory of a SQLite lock database can make `ReadWriteLock` initialization and acquisition run past their requested timeout, even when the lock is free. `AsyncReadWriteLock` constructs the same backend on the event-loop thread, so a slow initialization can also delay other tasks.

## Affected versions and mitigation

Confirmed affected: `= 4.2.12`. Upgrade to `4.3.0`.

Dead-holder cleanup now checks a 50 ms budget between directory entries and can resume on a later connection. An individual filesystem operation can exceed that budget, and unvisited links can remain. Keep the database in a directory writable only by trusted accounts. A sticky bit still permits new directory entries. [Fix in PR #1096](https://github.com/tox-dev/filelock/pull/1096)

## Credits

November 18, 2026 filelock security review: ANT-2026-W2TXGKZX.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-5qxg-3g64-7g62

Page: https://cve.now/GHSA-5QXG-3G64-7G62

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