CVE-2026-144388: filelock: Temporary-directory exhaustion can expose files through strict lock publication

Published Dec 3, 2026
·
Updated

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Unix, temporary-directory exhaustion during filelock import can disable a safeguard in StrictSoftFileLock publication. A local account with rename access to entries in a shared, non-sticky lock directory can gain read access to a file on the same filesystem. The confirmed case involved a world-readable file whose enclosing directory prevented access. 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·07:09 PM
Data Sourced
via MITRE·07:09 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which environments are exposed?

Affected deployments are Unix systems using filelock before version 4.3.0 where locks are published in a shared, non-sticky directory. The disclosed case requires the target file to be on the same filesystem and world-readable, while its enclosing directory restricts access.

2

What access does an attacker need?

The attacker must already have a local account and be able to rename entries in the shared lock directory. Exploitation also depends on temporary-directory exhaustion occurring during filelock import.

3

What is the security impact?

The impact is limited to unauthorized read access to a file under the described conditions. The supplied vector indicates no integrity or availability impact.

4

How can this be remediated?

Upgrade filelock to version 4.3.0 or later, 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