CVE-2026-144353: filelock: ReadWriteLock can delete a private file from a leftover SQLite journal

Published Dec 3, 2026
·
Updated

filelock is a platform-independent file lock for Python. Prior to 4.3.0, a ReadWriteLock database can retain an untrusted SQLite journal after its directory changes from shared to private. Opening the database can delete an unrelated file that the locking account has permission to read and remove. Changing directory permissions does not remove existing journals. 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:55 PM
Data Sourced
via MITRE·06:55 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which versions should be remediated?

The issue affects filelock versions prior to 4.3.0. Upgrade to version 4.3.0 or later.

2

What conditions are required for exploitation?

A ReadWriteLock database directory must have changed from shared to private while retaining an untrusted SQLite journal. When the locking account opens the database, the journal can cause deletion of an unrelated file that account is permitted to read and remove.

3

Are permission changes alone sufficient mitigation?

No. Changing the directory from shared to private does not remove existing journals, so a journal left behind before the permission change can remain relevant.

4

What can be done before upgrading?

Review ReadWriteLock database directories that were previously shared and remove leftover untrusted SQLite journals before opening the database. Ensure untrusted users cannot create or retain journal files in directories used by the lock database.

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