CVE-2026-113719 virtualenv: Seed replacement does not contain metadata deletion paths
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-113719?
CVE-2026-113719 is a medium-severity vulnerability in pypa virtualenv, published on 20 Oct 2026.
Official description
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, PipInstall._uninstall_previous_version() accepts existing seed-package metadata and _uninstall_dist() joins entries from top_level.txt and RECORD to site-packages without checking containment. When a reused destination contains distribution metadata influenced by another account, relative traversal, absolute entries, or linked parents can cause app-data reseeding to delete files outside the environment or the environment root with the invoking user's permissions, provided that user has deletion rights over the named paths. The deletion occurs during environment creation before any later use of the environment. Fresh environments without existing package metadata and creation with --clear do not enter this cleanup path. This issue is fixed in version 21.14.9.
Weakness: CWE-22
Which versions are affected by CVE-2026-113719?
3 open source packages ship an affected version, including virtualenv.
| Package | Affected | Fixed in |
|---|---|---|
virtualenv Bitnami | All versions | 21.14.9 |
virtualenv PyPI | All versions | 21.14.9 |
virtualenv PyPI | All versions | 21.14.9 |
How do I fix CVE-2026-113719?
Upgrade virtualenv to 21.14.9 or later.
Is CVE-2026-113719 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-113719 exists.
Sources
Also known as AZL-110121, BIT-virtualenv-2026-113719, DEBIAN-CVE-2026-113719, ECHO-b0db-7316-fd96, GHSA-hhxq-47xx-j5xx, MINI-h9fw-3f73-rhrc and 1 more.