Vulnerability
CVE-2026-22702
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.
20 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2023-2026-1428
Amazon Linux 2023 - ALAS2023-2026-1428: Medium priority package update for python3.13-virtualenv
-
AZL-74210
CVE-2026-22702 affecting package python-virtualenv 20.26.6-2
-
AZL-74237
CVE-2026-22702 affecting package python-virtualenv for versions less than 20.36.1-1
- CGA-2wv4-rq96-vf4q
- CGA-cc8h-fw79-4vq7
- CGA-v645-67w5-g4vh
- CGA-vwf5-jvhc-hcfm
-
DEBIAN-CVE-2026-22702
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…
-
GHSA-597g-3phw-6986
virtualenv Has TOCTOU Vulnerabilities in Directory Creation
-
OESA-2026-1185
python-virtualenv security update
-
OESA-2026-1186
python-virtualenv security update
-
OESA-2026-1187
python-virtualenv security update
-
OESA-2026-1188
python-virtualenv security update
-
PYSEC-2026-2009
virtualenv Has TOCTOU Vulnerabilities in Directory Creation
-
SUSE-SU-2026:0233-1
Security update for python-virtualenv
-
SUSE-SU-2026:20129-1
Security update for python-virtualenv
-
SUSEVEX-CVE-2026-22702
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…
-
UBUNTU-CVE-2026-22702
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…
-
openSUSE-SU-2026:10055-1
python311-virtualenv-20.36.1-1.1 on GA media
-
openSUSE-SU-2026:20086-1
Security update for python-virtualenv