
CVE catalog
CVE-2026-113724
python-virtualenv: CVE-2026-113724
- 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, the safe_delete() deletion error handler responds to a failed removal by reading mode bits with os.lstat(path) and applying owner-write permission with os.chmod(path, ...), which follows a symlink. A planted link inside a read-only directory can therefore cause a victim-owned target outside the destination that is initially not writable by the invoking user to become broadly writable before the retry fails, provided that user owns the target and can change its mode. Another account can use the widened mode only if it can traverse the target's parent directories; root does not reach the demonstrated failure path, and the operation does not itself read the target. 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://github.com/pypa/virtualenv/commit/2bfdc0230d1b2685fedfcfe66c835b9a2ec7c440]
- [https://github.com/pypa/virtualenv/pull/3427]
- [https://github.com/pypa/virtualenv/releases/tag/21.14.9]
- [https://github.com/pypa/virtualenv/security/advisories/GHSA-43mp-35q3-x3fq]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-113724]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-113724]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-113724]
- [https://security-tracker.debian.org/tracker/CVE-2026-113724]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-113724.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]