filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, a new StrictSoftFileLock sentinel can inherit group or other write permission. An account with that access can change the sentinel so that a SoftFileLock client enters the protected section while the strict lock remains held. This affects applications sharing a path between strict and legacy soft locks. This issue is fixed in version 4.3.0.
https://github.com/tox-dev/filelock/security/advisories/GHSA-q5j8-xrw5-8mhf
https://github.com/tox-dev/filelock/releases/tag/4.3.0
https://github.com/tox-dev/filelock/pull/985
https://github.com/tox-dev/filelock/commit/d746e455b427ec3139ee36596cd226c0bf6d4484