# CVE-2026-113716: virtualenv: Builtin creation follows linked environment directories

- 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:18:09.392Z
- Modified: 2026-11-27T06:45:48.116Z
- Also known as: GHSA-cw65-gx24-rc82, BIT-VIRTUALENV-2026-113716, PYSEC-2026-4375
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, 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, the builtin creator calls ensure_dir() for executable, library, and package directories, and ensure_dir() accepts an existing symlink to a directory because exists() follows it. Interpreter creation, seed installation, and activation generation then write through the linked parent outside the requested destination when another local account prepared the tree and the invoking user can access the target. The --clear option removes the planted tree first, while ordinary creation reaches it; arbitrary attacker-selected output bytes are not established. 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.0.0 before 21.14.9
- virtualenv virtualenv: from 20.0.0 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-cw65-gx24-rc82> (exploit, advisory, fix, mitigation, patch, vendor-advisory, web)
- <https://github.com/pypa/virtualenv/pull/3429> (fix, issue-tracking, patch, web)
- <https://github.com/pypa/virtualenv/commit/554d9f9d4f7758f5cf53f993031e29787f1f74c5> (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-113716> (advisory, web)
- <https://github.com/pypa/virtualenv> (package)

## Sources

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

---

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