Virtualenv: Prior to 21.14.9, the app-data copy seeder uses shutil.copy() to copy cached package files into later
Affects virtualenvSource GCVE Database
Not known to be exploited · CVSS 4.4 Medium : upgrade to 21.14.9 when convenient.
Data as of 18 Nov 2026, 13:07 UTC
- Patch
- Available – fixed in 21.14.9
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:NExploitation 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 17 Nov 2026.
What to do
Upgrade virtualenv to 21.14.9.
Patches and advisories
Affected software
| Product | 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 issue is fixed. Applying this official fix eliminates the risk of cached package files having overly permissive permissions. No additional mitigation is required once the patch is applied.
Description
Virtualenv versions prior to 21.14.9 use shutil.copy() in the app-data copy seeder to copy cached package files, which causes cached source modes to override the current run's umask. This can result in files that are writable by other local accounts in later environments, allowing modification and execution of package code by the environment owner. The issue is fixed in version 21.14.9.
References
- github.com/pypa/virtualenv/releases/tag/21.14.9 (opens in a new tab)
- github.com/pypa/virtualenv/commit/35f0b33562790176dd186d0a3c517af3acc7a0e1 (opens in a new tab)
- github.com/pypa/virtualenv/pull/3425 (opens in a new tab)
- github.com/pypa/virtualenv/security/advisories/GHSA-fc2g-4w5p-6whm (opens in a new tab)