CVE 4.5 MEDIUM

virtualenv Has TOCTOU Vulnerabilities in Directory Creation_CVE-2026-22702

4.5 / 10
MEDIUM
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

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.

Basic Information

ID CVE-2026-22702
Source GitHub_M
Published Jan 10, 2026 at 06:05

Affected Product

Vendor pypa
Product virtualenv
Version < 20.36.1
Affected Versions pypa virtualenv < 20.36.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.