cve.bz

CVE-2026-22702

4.5 mediumEPSS 0.1%

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.

Severity

CVSS 3.1

4.5 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS
0.1% chance of exploitation in the next 30 days; higher than 0% of CVEs (scores of 2026-10-31)
CWEs
CWE-59, CWE-362
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-597g-3phw-6986PyPIvirtualenv<20.36.120.36.1
PYSEC-2026-2009PyPIvirtualenv<20.36.120.36.1

References

Check your stackJSON