# CVE-2026-113720: virtualenv: Seeded files retain permissions from an older cache

- Severity: Medium 4.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N`
- 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.18%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T19:43:32.451Z
- Modified: 2026-11-27T06:45:51.160Z
- Also known as: GHSA-fc2g-4w5p-6whm, BIT-VIRTUALENV-2026-113720, PYSEC-2026-4379
- Weaknesses: CWE-732
- 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 app-data copy seeder uses shutil.copy() to copy cached package files into later environments, causing cached source modes to override the current run's umask. A cache populated under a permissive umask can therefore produce files writable by another local account in a later traversable environment, allowing package code such as pip/__init__.py to be modified and executed by the environment owner. The attacker cannot force the earlier umask, and a private destination parent prevents access. 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:4.0 4.4 Medium `CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/pypa/virtualenv/security/advisories/GHSA-fc2g-4w5p-6whm> (exploit, advisory, evidence, mitigation, vendor-advisory, web)
- <https://github.com/pypa/virtualenv/pull/3425> (fix, issue-tracking, patch, web)
- <https://github.com/pypa/virtualenv/commit/35f0b33562790176dd186d0a3c517af3acc7a0e1> (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-113720> (advisory, web)
- <https://github.com/pypa/virtualenv> (package)

## Sources

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

---

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