CVE-2026-144381: filelock: Strict soft lock can chmod unrelated directory

Published Dec 3, 2026
·
Updated

filelock is a platform-independent file lock for Python. Prior to 4.3.0, in a group-writable directory without the sticky bit, StrictSoftFileLock can mistake an unrelated directory owned by the locking account for its coordination directory. It can change that directory's permissions and create a claims directory inside it, disrupting access for other users. 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 filelock to a version that resolves this vulnerability.

    Fixed in 4.3.0

Event History

Dec 3, 2026
CVE Published
via MITRE·06:57 PM
Data Sourced
via MITRE·06:57 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using StrictSoftFileLock before version 4.3.0 are exposed when it operates in a group-writable directory that does not have the sticky bit set. The issue depends on an unrelated directory owned by the locking account being mistaken for the lock coordination directory.

2

What access does an attacker need to exploit it?

The vulnerability has local attack vector, high attack complexity, and requires low privileges. Exploitation requires conditions in the shared group-writable, non-sticky directory that cause StrictSoftFileLock to select an unrelated directory owned by the locking account.

3

What is the impact if exploitation succeeds?

StrictSoftFileLock can change permissions on the unrelated directory and create a claims directory within it. This can disrupt other users' access, affecting integrity and availability without reported confidentiality impact.

4

What can be done before upgrading?

Avoid using StrictSoftFileLock in group-writable directories without the sticky bit, or ensure its coordination directory cannot be confused with unrelated directories. Upgrade filelock to version 4.3.0 to obtain the fix.

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