CVE-2026-113716: virtualenv: Builtin creation follows linked environment directories
Vulnerability summary
CVE-2026-113716 is a medium (CVSS 4.5) vulnerability in pypa virtualenv. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.8% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 20-10-2026PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- NVDNIST4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · PypiEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · WolfiEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 0.14% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundVirtualenv
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard10 products
- nemo-gymAll versions (No fix recorded) | < 0.5.0_rc0_git20260729-r8
- nemo-rl-cuda-13.0< 0.7.0-r15
- nemo-rl-cuda-13.0-mcore< 0.7.0-r15
- nemo-rl-cuda-13.0-sglangAll versions (No fix recorded) | < 0.7.0-r15
- nemo-rl-cuda-13.0-vllmAll versions (No fix recorded) | < 0.7.0-r15
Debian1 product
- python-virtualenvAll versions (No fix recorded) | < 21.15.6+ds-1
Pypa1 product
- virtualenv< 21.14.9
PyPI1 product
- virtualenv< 21.14.9 | ≥ 20.0.0, < 21.14.9
Ubuntu1 product
- python-virtualenvAll versions (No fix recorded)
Virtualenv1 product
- virtualenv≥ 20.0.0, < 21.14.9
Wolfi1 product
- py3-cassandra-medusaAll versions (No fix recorded) | < 0.31.0-r1
7 vendors · 16 products
References
10 links- github.com/pypa/virtualenv/security/advisories/GHSA-cw65-gx24-rc82X Refsource CONFIRMWEBAdvisoryREPORTExploitMitigationPatchVendor AdvisoryFIX
- github.com/pypa/virtualenv/commit/554d9f9d4f7758f5cf53f993031e29787f1f74c5X Refsource MISCWEBFIXPatch
- github.com/pypa/virtualenvPACKAGE