CVE-2026-113720 json
virtualenv: Seeded files retain permissions from an older cache
published 20d ago modified 11d ago also BIT-virtualenv-2026-113720 , EUVD-2026-105302 , GHSA-fc2g-4w5p-6whm
- cvss
- 4.4
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 2%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi virtualenv 21.14.9
- bitnami virtualenv 21.14.9
- virtualenv virtualenv 21.14.9
- python-virtualenv openSUSE Tumbleweed 21.15.1-1.1
opensuse advisories openSUSE-SU-2026:12372-1
- python-virtualenv Azure Linux 3.0 20.36.1-10
azure linux advisories AZL-110118
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/pypa/virtualenv@35f0b33 commit
- github.com/pypa/virtualenv#3425 pull request
- github.com/pypa/virtualenv/releases/tag/21.14.9 release
Is CVE-2026-113720 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-113720 updated cvss 6.7
virtualenv: virtualenv: Arbitrary code execution via insecure cached file permissions
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-service-api-rhel9 Red Hat Ansible Automation Platform 2 python-virtualenv 20.25.1-2.el10ap, python3.11-virtualenv 20.25.1-1.el9ap, python3.12-virtualenv 20.25.1-2.el9ap, ansible-automation-platform-26/controller-rhel9, ansible-automation-platform-27/controller-rhel9, ansible-automation-platform-26/eda-controller-rhel9, +2 more Red Hat OpenShift AI (RHOAI) rhoai/odh-ta-lmes-job-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-kserve-controller-rhel9, rhai-early-access/docling-serve-cuda-rhel9, +6 more Red Hat OpenShift Container Platform 4 python-virtualenv 20.25.1-2.el10ap Red Hat OpenShift Dev Spaces devspaces/udi-rhel9 Red Hat Satellite 6 satellite/iop-yuptoo-rhel9, satellite/iop-host-inventory-rhel9, satellite/iop-advisor-backend-rhel9affected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19d ago
Exploit prediction
0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 4.4 | 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 |
| CNA | 4.0 | 4.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | virtualenv | <21.14.9 |
21.14.9 |
| bitnami | virtualenv | <21.14.9 |
21.14.9 |
Affected products
- pypa virtualenv
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
-
github.com
/pypa/virtualenv/pull/3425
web
-
github.com
/pypa/virtualenv/commit/35f0b33562790176dd186d0a3c517af3acc7a0e1
web
-
github.com
/pypa/virtualenv/security/advisories/GHSA-fc2g-4w5p-6whm
web
-
github.com
/pypa/virtualenv/releases/tag/21.14.9
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-113720
advisory, web
-
github.com
/pypa/virtualenv
package
Sources
- CVE List CVE-2026-113720
- GitHub Advisory GHSA-fc2g-4w5p-6whm
- NVD CVE-2026-113720
- OSV BIT-virtualenv-2026-113720
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.