# CVE-2026-113719: virtualenv: Seed replacement does not contain metadata deletion paths

- Severity: Medium 4.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T19:42:07.523Z
- Modified: 2026-11-27T06:45:50.812Z
- Also known as: GHSA-hhxq-47xx-j5xx, BIT-VIRTUALENV-2026-113719, PYSEC-2026-4378
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pypa virtualenv: < 21.14.9
- virtualenv (PyPI): before 21.14.9; from 20.8.1 before 21.14.9
- virtualenv virtualenv: from 20.8.1 before 21.14.9
- virtualenv (Bitnami): before 21.14.9

## Every score

- GitHub_M: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/pypa/virtualenv/security/advisories/GHSA-hhxq-47xx-j5xx> (exploit, advisory, evidence, vendor-advisory, web)
- <https://github.com/pypa/virtualenv/pull/3428> (fix, issue-tracking, patch, web)
- <https://github.com/pypa/virtualenv/commit/e3cea6fa10a50fa29cf1fdddd772458fba076d5f> (fix, patch, web)
- <https://github.com/pypa/virtualenv/releases/tag/21.14.9> (advisory, article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-113719> (advisory, web)
- <https://github.com/pypa/virtualenv> (package)

## Sources

- CVE List: [CVE-2026-113719](https://www.cve.org/CVERecord?id=CVE-2026-113719), CVE Terms of Use, modified 2026-10-27
- GitHub Advisory Database: [GHSA-hhxq-47xx-j5xx](https://github.com/advisories/GHSA-hhxq-47xx-j5xx), CC-BY-4.0, modified 2026-11-18
- NVD: [CVE-2026-113719](https://nvd.nist.gov/vuln/detail/CVE-2026-113719), Public domain, modified 2026-11-17
- PyPA Advisory Database: [PYSEC-2026-4378](https://osv.dev/vulnerability/PYSEC-2026-4378), CC-BY-4.0, modified 2026-11-18
- Bitnami Vulnerability Database: [BIT-VIRTUALENV-2026-113719](https://osv.dev/vulnerability/BIT-VIRTUALENV-2026-113719), Apache-2.0, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-113719 · Whole record: https://cve.day/CVE-2026-113719.json · Rebuilt by cve.day 2026-11-27T07:07:21.386Z
