CVE-2026-144395
filelock: ReadWriteLock can overwrite victim-owned files through a directory swap
- Severity
- medium CVSS 4.4 (v3.1)
- Affects
- filelock · tox-dev
- Weakness
- CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
- Published
- 3 December 2026 by GitHub_M
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.