filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. This issue is fixed in version 4.3.0.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-22wc-j8c9-7gxg filelock: ReadWriteLock can overwrite victim-owned files through a directory swap
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 04 Dec 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Tox-dev
Tox-dev filelock
Vendors & Products Tox-dev
Tox-dev filelock

Thu, 03 Dec 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 03 Dec 2026 19:30:00 +0000

Type Values Removed Values Added
Description filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. This issue is fixed in version 4.3.0.
Title filelock: ReadWriteLock can overwrite victim-owned files through a directory swap
Weaknesses CWE-367
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-03T20:02:15.908Z

Reserved: 2026-12-03T19:01:39.563Z

Link: CVE-2026-144395

cve-icon Vulnrichment

Updated: 2026-12-03T20:02:08.988Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-03T20:17:46.917

Modified: 2026-12-04T15:47:41.367

Link: CVE-2026-144395

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-04T20:30:10Z

Weaknesses