Vulnerability · Published Sep 29, 2026 · Assigned by GitHub_M
CVE-2026-102930virtualenv: Downloaded seed wheels (pip/setuptools) are not integrity-checked before use
High 7.7
In plain English
A high-severity security flaw in virtualenv from pypa. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-virtualenv | no fix listed | DEBIAN-CVE-2026-102930 |
| Debian:13 | python-virtualenv | no fix listed | DEBIAN-CVE-2026-102930 |
| Debian:14 | python-virtualenv | no fix listed | DEBIAN-CVE-2026-102930 |
| PyPI | virtualenv | 21.7.12 | PYSEC-2026-4011 |
| PyPI | virtualenv | 21.7.12 | GHSA-94p9-xgh2-xp45 |
| Ubuntu:26.04:LTS | python-virtualenv | no fix listed | UBUNTU-CVE-2026-102930 |
| Ubuntu:26.10 | python-virtualenv | no fix listed | UBUNTU-CVE-2026-102930 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| pypa | virtualenv | < 21.7.12 |
Weakness: CWE-494 · 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
References
- https://github.com/pypa/virtualenv/security/advisories/GHSA-94p9-xgh2-xp45 x_refsource_CONFIRM
- https://github.com/pypa/virtualenv/pull/3251 x_refsource_MISC
- https://github.com/pypa/virtualenv/commit/a01ed3e2f239d6ab1fce62c5c7664ccf268fff6d x_refsource_MISC