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.
https://github.com/tox-dev/filelock/security/advisories/GHSA-22wc-j8c9-7gxg
https://github.com/tox-dev/filelock/releases/tag/4.3.0
https://github.com/tox-dev/filelock/pull/1096
https://github.com/tox-dev/filelock/commit/d7324f591a2532e28427dae342d73680cc4cf6e7