
CVE catalog
CVE-2026-113721
python-virtualenv: CVE-2026-113721
- Severity
- Medium · CVSS 4.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.14% · Oct 25, 2026
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, ViaTemplateActivator._generate() removes an existing output only when Path.exists() is true, allowing a dangling symlink to survive and redirect generated activation content, while PyEnvCfg.write() opens pyvenv.cfg without first replacing an existing symbolic or hard link. Another local account that prepares final entries inside the destination can therefore cause environment creation to create or overwrite files outside the requested tree with constrained virtualenv-generated content and the invoking user's permissions. The destination parent must remain controlled by the environment owner during creation; concurrent parent-directory replacement is a separate concern. This issue is fixed in version 21.14.9.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-virtualenv | sid | 21.5.1+ds-1 | vulnerable |
| Debian | python-virtualenv | forky | 21.5.1+ds-1 | vulnerable |
| Debian | python-virtualenv | trixie | 20.31.2+ds-1+deb13u1 | vulnerable |
| Debian | python-virtualenv | bookworm | 20.17.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.10.1-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11-2 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11.4-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11.4-1ubuntu1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 1.11.6+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 14.0.5+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 14.0.5+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 14.0.5+ds-4 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.0+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.0+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-3 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-3ubuntu1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-3ubuntu1.1 | vulnerable |
| Ubuntu | python-virtualenv | 18.04 | 15.1.0+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 18.04 | 15.1.0+ds-1.1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.24.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.24.6+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.24.6+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.25.0+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.25.0+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.25.0+ds-2ubuntu0.1~esm1 | vulnerable |
| Ubuntu | python-virtualenv | 26.10 | 20.36.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.10 | 21.4.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.10 | 21.5.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.31.2+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.35.3+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.35.4+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.36.1+ds-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-virtualenv | source | sid | (unfixed) | not yet assigned | Not reported | [1151685] |
| Debian | python-virtualenv | source | forky | (unfixed) | not yet assigned | Not reported | [1151685] |
| Debian | python-virtualenv | source | trixie | (unfixed) | not yet assigned | Not reported | [1151685] |
| Debian | python-virtualenv | source | bookworm | (unfixed) | not yet assigned | Not reported | [1151685] |
Notes
[trixie] python-virtualenv: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
- [virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
[Debian 13 (Trixie)]
- [python3-virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
- [virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-113721]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-113721]
- [https://security-tracker.debian.org/tracker/CVE-2026-113721]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-113721.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]