CVE-2026-22702
MEDIUM EPSS 0.4%
Published Jan 10, 20265mo ago · Modified Jun 17, 20261w ago
4.5 CVSS 3.1
Published Jan 10, 2026 5mo ago
Last Modified Jun 17, 2026 1w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L Attack Vector Local
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity Low
Availability Low
Threat Intelligence
EPSS Exploit Probability
0.4% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 2
CWE-362
CWE-59
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| virtualenv | virtualenv | * | <20.36.1 |
References 3
- github.com https://github.com/pypa/virtualenv/commit/dec4cec5d16edaf83a00a658f32d1e032661cebc
- github.com https://github.com/pypa/virtualenv/pull/3013
- github.com https://github.com/pypa/virtualenv/security/advisories/GHSA-597g-3phw-6986
Remediation
- github.com https://github.com/pypa/virtualenv/commit/dec4cec5d16edaf83a00a658f32d1e032661cebc
- github.com https://github.com/pypa/virtualenv/pull/3013
- github.com https://github.com/pypa/virtualenv/security/advisories/GHSA-597g-3phw-6986