CVE-2026-102930
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
virtualenvPyPI | < 21.7.12 | 21.7.12 |
Affected products
5- osv-coords4 versionspkg:bitnami/virtualenvpkg:rpm/opensuse/python-virtualenv&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/python-virtualenv&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-virtualenv&distro=openSUSE%20Leap%2016.1
< 21.7.12+ 3 more
- (no CPE)range: < 21.7.12
- (no CPE)range: < 20.29.3-160000.4.1
- (no CPE)range: < 21.14.2-1.1
- (no CPE)range: < 20.29.3-160100.3.1
- Range: <21.7.12
Patches
Vulnerability mechanics
References
8- github.com/pypa/virtualenv/commit/a01ed3e2f239d6ab1fce62c5c7664ccf268fff6dnvdPatchWEB
- github.com/pypa/virtualenv/pull/3251nvdIssue TrackingPatchWEB
- github.com/pypa/virtualenv/security/advisories/GHSA-94p9-xgh2-xp45nvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-94p9-xgh2-xp45ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-102930ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/virtualenv/PYSEC-2026-4011.yamlghsaWEB
- github.com/pypa/virtualenv/releases/tag/21.7.12ghsaWEB
- pypi.org/project/virtualenvghsaWEB
News mentions
0No linked articles in our index yet.