Vulnerability

CVE-2026-22702

mediumCVSS 3.1 4.5Published 10 Jan 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

From the NVD's configuration data (CPE), vendor first.

  • Virtualenv virtualenv

Weakness type

References

  • github.com /pypa/virtualenv/commit/dec4cec5d16edaf83a00a658f32d1e03266…
  • github.com /pypa/virtualenv/pull/3013
  • github.com /pypa/virtualenv/security/advisories/GHSA-597g-3phw-6986

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning