virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the builtin creator calls ensure_dir() for executable, library, and package directories, and ensure_dir() accepts an existing symlink to a directory because exists() follows it. Interpreter creation, seed installation, and activation generation then write through the linked parent outside the requested destination when another local account prepared the tree and the invoking user can access the target. The --clear option removes the planted tree first, while ordinary creation reaches it; arbitrary attacker-selected output bytes are not established. This issue is fixed in version 21.14.9.
References
| Link | Resource |
|---|---|
| https://github.com/pypa/virtualenv/commit/554d9f9d4f7758f5cf53f993031e29787f1f74c5 | Patch |
| https://github.com/pypa/virtualenv/pull/3429 | Issue Tracking Patch |
| https://github.com/pypa/virtualenv/releases/tag/21.14.9 | Release Notes |
| https://github.com/pypa/virtualenv/security/advisories/GHSA-cw65-gx24-rc82 | Exploit Mitigation Patch Vendor Advisory |
Configurations
History
17 Nov 2026, 20:28
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Virtualenv
Virtualenv virtualenv |
|
| CPE | cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:* | |
| References | () https://github.com/pypa/virtualenv/commit/554d9f9d4f7758f5cf53f993031e29787f1f74c5 - Patch | |
| References | () https://github.com/pypa/virtualenv/pull/3429 - Issue Tracking, Patch | |
| References | () https://github.com/pypa/virtualenv/releases/tag/21.14.9 - Release Notes | |
| References | () https://github.com/pypa/virtualenv/security/advisories/GHSA-cw65-gx24-rc82 - Exploit, Mitigation, Patch, Vendor Advisory |
20 Oct 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-20 20:17
Updated : 2026-11-17 20:28
NVD link : CVE-2026-113716
Mitre link : CVE-2026-113716
CVE.ORG link : CVE-2026-113716
JSON object : View
Products Affected
virtualenv
- virtualenv
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
