#VU121189 Time-of-check Time-of-use (TOCTOU) Race Condition in filelock - CVE-2026-22701

 

#VU121189 Time-of-check Time-of-use (TOCTOU) Race Condition in filelock - CVE-2026-22701

Published: January 13, 2026


Vulnerability identifier: #VU121189
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-22701
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
filelock
Software vendor:
benediktschmitt (Benedikt Schmitt)

Description

The vulnerability allows a local user to perform a denial of service attack.

The vulnerability exists due to a race condition in the SoftFileLock implementation of the filelock package. A local user can create a symbolic link to a critical file on the system between the permission validation and file creation to cause lock operations to fail or behave unexpectedly.


Remediation

Install updates from vendor's website.

External links