#VU121190 Time-of-check Time-of-use (TOCTOU) Race Condition in py3-virtualenv - CVE-2026-22702

 

#VU121190 Time-of-check Time-of-use (TOCTOU) Race Condition in py3-virtualenv - CVE-2026-22702

Published: January 13, 2026


Vulnerability identifier: #VU121190
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-22702
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
py3-virtualenv
Software vendor:
www.virtualenv.org

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a race condition between directory existence checks and creation to redirect virtualenv's app_data and lock file operations to attacker-controlled locations. A local user can gain access to sensitive information, poison cache or perform a denial of service attack.


Remediation

Install updates from vendor's website.

External links