filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, during stale-marker recovery, SoftFileLock can admit two holders when a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. This issue is fixed in version 4.3.0.
https://github.com/tox-dev/filelock/security/advisories/GHSA-69rv-9gxw-r2jh
https://github.com/tox-dev/filelock/releases/tag/4.3.0
https://github.com/tox-dev/filelock/pull/975
https://github.com/tox-dev/filelock/commit/dc52a59fe437d6470e24127759af30a0952bab6a