CVE-2026-144340: filelock: Untrusted lock waits can stall release of private async locks

Published Dec 3, 2026
·
Updated

filelock is a platform-independent file lock for Python. Prior to 4.3.0, concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. 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:44 PM
Data Sourced
via MITRE·06:44 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed?

Deployments using filelock versions before 4.3.0 are exposed when concurrent AsyncSoftReadWriteLock waits can be triggered on lock paths influenced by another account. An example is a group-writable directory without the sticky bit.

2

What does an attacker need to cause impact?

The attacker needs the ability to influence lock paths and to create enough simultaneous lock waits to occupy every worker in the process's default executor. The resulting impact is delayed release of an unrelated private lock in the same process.

3

Are default deployments affected?

The issue depends on a workload using attacker-influenced lock paths and enough concurrent waits to exhaust the default executor. The provided information does not establish that ordinary default lock-path configurations meet those conditions.

4

What is the remediation?

Upgrade filelock to version 4.3.0 or later. If an immediate upgrade is not possible, avoid using lock paths that another account can influence, including group-writable non-sticky directories.

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