CVE-2026-113721: pypa virtualenv · Link Following
Affects pypa virtualenvSource CVE Database V5
Not known to be exploited · CVSS 4.5 Medium : upgrade to 21.14.9 when convenient.
Data as of 4 Dec 2026, 18:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.5 |
|---|
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 21.14.9
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade pypa virtualenv to 21.14.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pypavirtualenv | Affected
| Fixed in
|
PyPIvirtualenvpkg:pypi/virtualenvOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade virtualenv to version 21.14.9 or later, where this vulnerability is fixed. No additional mitigation is required once the update is applied. Ensure that the destination parent directory remains controlled by the environment owner during environment creation to avoid concurrent directory replacement issues.
Description
CVE-2026-113721 is a vulnerability in pypa virtualenv versions prior to 21.14.9. It involves improper handling of symbolic links during environment creation, allowing a local attacker with limited privileges to cause files outside the intended virtual environment directory to be created or overwritten. This occurs because the tool does not properly remove dangling symlinks and opens configuration files without replacing existing symbolic or hard links. The issue is fixed in version 21.14.9.
References
- github.com/pypa/virtualenv/security/advisories/GHSA-558c-9hv2-4prj (opens in a new tab)
- github.com/pypa/virtualenv/pull/3431 (opens in a new tab)
- github.com/pypa/virtualenv/commit/d25f28699eefb1fc34a251e5adf2b5de844c36cd (opens in a new tab)
- github.com/pypa/virtualenv/releases/tag/21.14.9 (opens in a new tab)