Skip to main content
← All vulnerabilities
CVE-2026-102930GHSA-94P9-XGH2-XP45BIT-VIRTUALENV-2026-102930PYSEC-2026-4011

virtualenv: Downloaded seed wheels (pip/setuptools) are not integrity-checked before use

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 21.7.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • pypa virtualenv

    fixed in 21.7.12

  • virtualenvBitnami

    fixed in 21.7.12

  • virtualenvPyPI

    fixed in 21.7.12

References 3

GitHub · pypa/virtualenv