ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-22702

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12python-virtualenv
All versions, no fix listed
Debian:13python-virtualenv
All versions before 20.31.2+ds-1+deb13u1 (fixed in 20.31.2+ds-1+deb13u1)
Debian:14python-virtualenv
All versions before 20.36.1+ds-1 (fixed in 20.36.1+ds-1)

References