CVE-2026-102930
High 7.7No known exploitationFix availablevirtualenv: Downloaded seed wheels (pip/setuptools) are not integrity-checked before use
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 14% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-494
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Microsoft | azl3 python-virtualenv 20.36.1-6 on Azure Linux 3.0 | Not documented | 20.36.1-7 | Microsoft MSRC |
| virtualenv | virtualenv | all versions before 21.7.12 | 21.7.12 | NIST NVD |
Timeline
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- https://github.com/pypa/virtualenv/commit/a01ed3e2f239d6ab1fce62c5c7664ccf268fff6d (opens in a new tab)patch
- https://github.com/pypa/virtualenv/pull/3251 (opens in a new tab)issue tracking, patch
- https://github.com/pypa/virtualenv/security/advisories/GHSA-94p9-xgh2-xp45 (opens in a new tab)patch, vendor advisory
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory