CVE-2026-22702

EUVD-2026-1869
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.
Link Following
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
4.5 MEDIUM
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 0.48%
Affected Products (NVD)
VendorProductVersion
virtualenvvirtualenv
𝑥
< 20.36.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python-virtualenv
bookworm
no-dsa
bullseye
postponed
forky
21.5.1+ds-1
fixed
sid
21.5.1+ds-1
fixed
trixie
20.31.2+ds-1+deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-virtualenv
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
plucky
ignored
questing
ignored
resolute
needs-triage
trusty
needs-triage
xenial
ignored
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
python3.13-virtualenv
Amazon Linux 2023
0:20.21.1-1.amzn2023.0.2
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
python-virtualenv
Azure Linux 3.0
0:20.36.1-1.azl3
fixed