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.
History

Sun, 11 Jan 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Sat, 10 Jan 2026 06:30:00 +0000

Type Values Removed Values Added
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.
Title virtualenv Has TOCTOU Vulnerabilities in Directory Creation
Weaknesses CWE-362
CWE-59
References
Metrics cvssV3_1

{'score': 4.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-10T06:05:53.281Z

Reserved: 2026-01-08T19:23:09.857Z

Link: CVE-2026-22702

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-01-10T07:16:02.857

Modified: 2026-01-10T07:16:02.857

Link: CVE-2026-22702

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-01-10T06:05:53Z

Links: CVE-2026-22702 - Bugzilla

cve-icon OpenCVE Enrichment

No data.