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.
Exploitability Profile
Exploited in the wild
1 monitored report
Available
0 PoC signals · 1 repo
Confirmed
0 patch mentions · 3 advisories
Stable
Peak 1 on Oct 21, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Apply vendor patch or virtual patch immediately, verify exposed assets, and run SOC compromise hunts.
| Authority |
|---|
Triage Priority
CVSS v3.1
Source: GitHub
1mention
Across 1 tracked day
| Version |
|---|
| Score |
|---|
| Vector String |
|---|
CNAGitHub | v3.1 | 4.5MEDIUM | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
1 total mentions across 1 observed day · Peak 1 on Oct 21, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.
Normalized NVD configurations scoped by vendor, product, version, and platform.
Affected Vendors
Affected Products
| Part | Vendor | Product | Version | CPE 2.3 URI |
|---|---|---|---|---|
| App | Virtualenv | All versions | cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:* |