CVE-2026-144351: filelock: SoftFileLock recovery can admit two holders through a foreign-owned record

Published Dec 3, 2026
·
Updated

filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, during stale-marker recovery, SoftFileLock can admit two holders when a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. This issue is fixed in version 4.3.0.

Affected Software

1 affected component
pypi/filelock>=4.2.1<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:52 PM
Data Sourced
via MITRE·06:52 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using filelock versions from 4.2.1 through before 4.3.0 may be exposed if SoftFileLock operates in a shared sticky lock directory on a POSIX filesystem that supports atomic name exchange.

2

What conditions are required for exploitation?

A foreign-owned recovery record must be able to reach the public lock path, and another account must be able to create entries in the shared sticky lock directory. Exploitation can allow a caller to enter a critical section while another holder still holds the lock.

3

What version resolves the issue?

The issue is fixed in filelock version 4.3.0. Upgrade affected installations to 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