TROYANOSYVIRUS
Back to CVEs

CVE-2026-22702

MEDIUM
4.5

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.

CVE Details

CVSS v3.1 Score4.5
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack VectorLOCAL
ComplexityHIGH
Privileges RequiredLOW
User InteractionNONE
Published1/10/2026
Last Modified2/18/2026
Sourcenvd
Honeypot Sightings0

Affected Products

virtualenv:virtualenv

Weaknesses (CWE)

CWE-59CWE-362

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.