CVE-2026-113720Virtualenv
Medium 4.4
Follow: this CVE · Virtualenv · Virtualenv We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 4.0
- 4.4
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 20, 2026
- Updated
- Nov 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-732
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the app-data copy seeder uses shutil.copy() to copy cached package files into later environments, causing cached source modes to override the current run's umask. A cache populated under a permissive umask can therefore produce files writable by another local account in a later traversable environment, allowing package code such as pip/__init__.py to be modified and executed by the environment owner. The attacker cannot force the earlier umask, and a private destination parent prevents access. This issue is fixed in version 21.14.9.
What to do
- Apply the vendor's security update for Virtualenv.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | virtualenv |
< 21.14.9 |
21.14.9 |
pip install "virtualenv>=21.14.9" |
| PyPI | virtualenv |
≥ 20.0.0 < 21.14.9 |
21.14.9 |
pip install "virtualenv>=21.14.9" |
Per OSV / GitHub Advisories (GHSA-fc2g-4w5p-6whm, PYSEC-2026-4379). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| virtualenv | virtualenv | ≥ 20.0.0 < 21.14.9 |
Official advisories
- python313-virtualenv-21.15.1-1.1 on GA media · SUSE · openSUSE-SU-2026:12372-1 · Oct 30, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Exploit Mitigation Vendor Advisory