CVE-2026-22702

MEDIUM CVSS 3.1: 4.5 EPSS 0.10%
Updated Jan 13, 2026
Python
Parameter Value
CVSS 4.5 (MEDIUM)
Fixed In 20.36.1
Type CWE-59 (Improper Link Resolution), CWE-362 (Race Condition)
Vendor Python
Public PoC No

virtualenv is a tool for creating isolated virtual python environments. Prior to version 20.36.1, TOCTOU (Time-of-Check-Time-of-Use) vulnerabilities in virtualenv allow local attackers to perform symlink-based attacks on directory creation operations. An attacker with local access can exploit a race condition between directory existence checks and creation to redirect virtualenv's app_data and lock file operations to attacker-controlled locations.

This issue has been patched in version 20.36.1.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
Low
Partial disruption

CVSS Vector v3.1