CVE-2026-144341: filelock: Readable database oplock delays async cancellation on Windows

Published Dec 3, 2026
·
Updated

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, another local account with read access to a SQLite lock database can delay cancellation of an AsyncReadWriteLock acquisition. The task and application shutdown can wait past the task deadline, up to the lock's own timeout. Older databases and deliberately shared databases may grant the necessary access. The delay is caused by a Windows opportunistic lock (oplock). 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 filelock to a version that resolves this vulnerability.

    Fixed in 4.3.0

Event History

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

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue affects filelock versions before 4.3.0 running on Windows when an AsyncReadWriteLock uses a SQLite lock database that another local account can read. Older databases and databases deliberately shared between accounts may have the required access permissions.

2

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

The attacker needs local access on the Windows system and read access to the SQLite lock database. They can use that access to cause a Windows opportunistic lock condition that delays cancellation of an AsyncReadWriteLock acquisition.

3

What is the operational impact?

A task cancellation and application shutdown may continue waiting beyond the task deadline, potentially until the lock's configured timeout expires. The provided data describes an availability delay only, with no confidentiality or integrity impact.

4

What should be done if an immediate upgrade is not possible?

Restrict read access to the SQLite lock database so that other local accounts cannot access it, and avoid deliberately sharing the database. This reduces exposure to the local attacker condition described.

5

How can I remediate the issue?

Upgrade filelock to version 4.3.0 or later. The issue is fixed in 4.3.0.

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