CVE-2026-102930Virtualenv
High 7.7 No auth needed
Follow: this CVE · Virtualenv · Virtualenv We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 4.0
- 7.7
- EPSS
- —
- Auth required
- No
- Published
- Sep 29, 2026
- Updated
- Nov 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-494
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/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
What happens
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.12, download_wheel() accepts pip and setuptools seed wheels fetched for periodic updates or the --download option without checking their bytes against an authoritative digest equivalent to the embedded wheels' BUNDLE_SHA256 verification. A compromised index, stale mirror, or intercepted TLS connection can substitute a different wheel under the requested distribution, version, and filename, after which virtualenv caches and seeds the attacker-controlled wheel into subsequently created environments. The verification applies to the default PyPI path and is intentionally skipped when PIP_INDEX_URL, PIP_EXTRA_INDEX_URL, or PIP_INDEX configures a custom index that may legitimately publish rebuilt wheels. This issue is fixed in version 21.7.12.
What to do
- Apply the vendor's security update for Virtualenv.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | virtualenv |
< 21.7.12 |
21.7.12 |
pip install "virtualenv>=21.7.12" |
| PyPI | virtualenv |
< 21.7.12 |
21.7.12 |
pip install "virtualenv>=21.7.12" |
Per OSV / GitHub Advisories (GHSA-94p9-xgh2-xp45, PYSEC-2026-4011). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| virtualenv | virtualenv | < 21.7.12 |
Official advisories
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.7 Product Security and Bug Fix Update · Red Hat · RHSA-2026:100716 · Nov 23, 2026 High
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update · Red Hat · RHSA-2026:100715 · Nov 23, 2026 High
- Security update for python-virtualenv · SUSE · SUSE-SU-2026:24940-1 · Nov 18, 2026 High
- Security update for python-virtualenv · SUSE · SUSE-SU-2026:24885-1 · Nov 18, 2026 High
- Security update for python-virtualenv · SUSE · openSUSE-SU-2026:22379-1 · Nov 18, 2026 High
Also: SUSE (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Patch Vendor Advisory