CVE-2026-144391: filelock: Writable strict sentinel can admit a soft lock beside its holder

Published Dec 3, 2026
·
Updated

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, a new StrictSoftFileLock sentinel can inherit group or other write permission. An account with that access can change the sentinel so that a SoftFileLock client enters the protected section while the strict lock remains held. This affects applications sharing a path between strict and legacy soft locks. 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:12 PM
Data Sourced
via MITRE·07:12 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue affects POSIX deployments using filelock versions before 4.3.0 where an application shares a lock path between StrictSoftFileLock and legacy SoftFileLock clients. Exploitation also requires another account to have group or other write access to the strict lock sentinel.

2

What access does an attacker need?

An attacker needs local access as an account that can modify the StrictSoftFileLock sentinel. They can then alter the sentinel so a SoftFileLock client enters the protected section while the strict lock is still held.

3

How can the issue be remediated?

Upgrade filelock to version 4.3.0. If upgrading cannot happen immediately, avoid sharing lock paths between strict and legacy soft lock clients and ensure strict lock sentinel files are not writable by group or other accounts.

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