Security fix · CVE-2026-113719
virtualenv is a tool for creating isolated virtual python environments.
Published Oct 20, 2026 · catalog updated Oct 23, 2026 · virtualenv is a tool
Last checked Nov 3, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2026-113719. EPSS is 0.20%. Act only if a listed version of virtualenv is a tool is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (virtualenv is a tool).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium4.5
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.20%
- Remediation
- Version ranges on file
- Affected products
- PyPI virtualenv · pip virtualenv · pypi virtualenv
## Summary The app-data seeder joins paths from existing distribution metadata to site-packages and deletes the resulting paths without checking containment within the environment. Anthropic's OSS Scanner reported this as in , received on 15 October 2026. ## Affected area Removal of a previously installed seed package. ## Attacker-controlled input An environment being reused must contain distribution metadata influenced by another account. The invoking user must have deletion rights over the paths named by that metadata. Installing a new environment without existing package metadata does not enter this cleanup path. ## Affected code The relevant 21.14.8 source is in [seed uninstall](https://github.com/pypa/virtualenv/blob/a795ab116356afde11039cf2763d77e8a06da738/src/virtualenv/seed/embed/via_app_data/pip_install/base.py). ## Mechanism Before reinstalling a seed wheel, accepts an existing directory in the destination. reads its and , joins each entry to , and deletes the result. It does not check whether , an absolute entry, or a linked parent takes the path outside the environment. The default app-data seeder reaches this path when it reuses a tree containing seed-package metadata; removes that tree first. ## Reproduction and evidence The scanner prepared a project with . Its contained ; its named . The user's home initially held and . Running exited successfully but removed both paths. A control tree with set to and a normal RECORD entry left the home files in place. The reproducer prints only when the control files survive and both attack targets disappear. The deletion uses the invoking user's permissions and runs during creation, before any use of the environment. It requires an existing destination that another account could populate; a fresh empty environment does not supply hostile metadata. The report traces this cleanup to #2186, first released in 20.8.1. [PR #3428](https://github.com/pypa/virtualenv/pull/3428) checks each deletion path against the resolved
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- PyPI virtualenv0 → 21.14.9
- pip virtualenv< 21.14.9
- pypi virtualenvversion unspecified
How to fix CVE-2026-113719
Upgrade
CVE-2026-113719 lists a fix boundary at 21.14.9. Compare the installed build with that boundary before you change production.
Version check
Affected < 21.14.9
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-113719. EPSS is 0.20%. Act only if a listed version of virtualenv is a tool is installed.
Which versions are affected?
Compare what you have installed with 0 → 21.14.9, < 21.14.9. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-22: Path Traversal. EPSS 0.20%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 20, 2026 · NIST NVD
Detected
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
Oct 22, 2026 · NIST NVD
Updated
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
Oct 23, 2026 · GitHub Advisory Database
Updated
## Summary The app-data seeder joins paths from existing distribution metadata to site-packages and deletes the resulting paths without checking containment within the environment. Anthropic's OSS Scanner reported this as in , received on 15 October 2026. ## Affected area Removal of a previously installed seed package. ## Attacker-controlled input An environment being reused must contain distribut
Oct 23, 2026 · PyPA Advisory Database
Fix available
virtualenv fixed in 21.14.9
Oct 23, 2026 · PyPA Advisory Database
Fix available
virtualenv fixed in 21.14.9
Oct 23, 2026 · PyPA Advisory Database
Updated
## Summary The app-data seeder joins paths from existing distribution metadata to site-packages and deletes the resulting paths without checking containment within the environment. Anthropic's OSS Scanner reported this as in , received on 15 October 2026. ## Affected area Removal of a previously installed seed package. ## Attacker-controlled input An environment being reused must contain distribut
Sources
- CVE.orgVulnerability recordCVE-2026-113719
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2026-113719
30-day exploitation probability 0.20%
first.org - GitHub Advisory DatabasePackage advisoryGHSA-hhxq-47xx-j5xx
virtualenv: Seed replacement does not contain metadata deletion paths
github.com - GitLab Advisory DatabasePackage advisoryCVE-2026-113719
The app-data seeder joins paths from existing distribution metadata to site-packages and deletes the resulting paths without checking containment within the environment. Anthropic's OSS Scanner reported this as ANT-2026-SXOEHWP7 in virtualenv-20261015-005, received on 15 October 2026.
advisories.gitlab.com - NIST NVDVulnerability recordCVE-2026-113719
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 containmen
nvd.nist.gov - PyPA Advisory DatabasePackage advisoryGHSA-hhxq-47xx-j5xx
virtualenv: Seed replacement does not contain metadata deletion paths
osv.dev
References
Freshness
Last verified in this catalog Nov 3, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- FIRST EPSSNov 3, 2026
- GitLab Advisory DatabaseOct 27, 2026
- PyPA Advisory DatabaseOct 25, 2026
- GitHub Advisory DatabaseOct 24, 2026
- CVE.orgOct 23, 2026
- NIST NVDOct 22, 2026