CVE-2026-144335: filelock: Failed async lock construction disables fork resets for other locks

Published Dec 3, 2026
·
Updated

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, an AsyncReadWriteLock constructor failure could prevent a forked child from resetting unrelated locks, including locks in private directories. The process had to retain the failed construction and then fork. A local account able to populate an optional lock path could cause the initial failure. Overlapping holds were demonstrated only when the child reused an active SQLite lock before exec, an unsupported operation. 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:38 PM
Data Sourced
via MITRE·06:38 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which environments are exposed to this issue?

The issue affects filelock versions prior to 4.3.0 on POSIX systems. Exploitation also depends on an application using AsyncReadWriteLock, retaining a failed constructor result, and forking afterward.

2

What access does an attacker need?

An attacker needs local access and the ability to populate an optional lock path in order to cause the initial AsyncReadWriteLock construction failure. The affected process must then retain that failed construction and fork.

3

Are all lock operations affected after a constructor failure?

A failed AsyncReadWriteLock construction can stop a forked child from resetting unrelated locks, including locks in private directories. Demonstrated overlapping holds required the child to reuse an active SQLite lock before exec, which is an unsupported operation.

4

What is the remediation?

Upgrade filelock to version 4.3.0, which fixes the issue.

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