CVE-2026-144338: filelock: Shared-directory entries delay read-write locks beyond timeout

Published Dec 3, 2026
·
Updated

filelock is a platform-independent file lock for Python. Prior to 4.3.0, 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. This issue is fixed in version 4.3.0.

Affected Software

1 affected component
pypi/filelock<4.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.3.0

Event History

Dec 3, 2026
CVE Published
via MITRE·06:41 PM
Data Sourced
via MITRE·06:41 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

POSIX deployments using filelock versions earlier than 4.3.0 are exposed when another account has write access to the parent directory of the SQLite lock database. The affected behavior involves ReadWriteLock and AsyncReadWriteLock.

2

What does an attacker need to do to trigger the problem?

The attacker needs write access to the parent directory containing the SQLite lock database. They can create shared-directory entries that cause lock initialization or acquisition to exceed its requested timeout, including when the lock is otherwise free.

3

Are asynchronous applications affected differently?

AsyncReadWriteLock uses the same backend, and its initialization occurs on the event-loop thread. A deliberately slow initialization can therefore delay other tasks running on that event loop.

4

What is the remediation?

Upgrade filelock to version 4.3.0, which fixes the issue. If upgrading is not immediately possible, restrict write access to the parent directory of the SQLite lock database to trusted accounts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203