filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, SoftFileLock can trust a forged process identifier in a marker that an attacker can modify but cannot remove, allowing an authorized contender such as another process of the holder's account or root to act as a confused deputy, remove the live marker, and admit another holder. This issue is fixed in version 4.2.1.
https://github.com/tox-dev/filelock/security/advisories/GHSA-rfpc-qcw5-3pc4
https://github.com/tox-dev/filelock/releases/tag/4.2.1
https://github.com/tox-dev/filelock/pull/836
https://github.com/tox-dev/filelock/commit/eeceaa846cbe4df72718d94c8371ca1ab8f5b3cc