CVE-2026-22702

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

Configuration 1 (hide)

cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-01-10 07:16

Updated : 2026-02-18 17:43


NVD link : CVE-2026-22702

Mitre link : CVE-2026-22702

CVE.ORG link : CVE-2026-22702


JSON object : View

Products Affected

virtualenv

  • virtualenv
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')