BREW-VIRTUALENV-CVE-2026… (CVE-2026-102930)
Vulnerability from osv_homebrew – Published: 2026-10-05 19:15 – Updated: 2026-10-05 19:15 – Source websitevirtualenv 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": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"upstream_fixed_in": "21.7.12"
},
"package": {
"ecosystem": "Homebrew",
"name": "virtualenv",
"purl": "pkg:brew/virtualenv"
},
"ranges": [
{
"events": [
{
"introduced": "20.4.3"
},
{
"fixed": "21.7.12"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "git",
"upstream_evidence": [
{
"ecosystem": "GIT",
"key": "https://github.com/pypa/virtualenv",
"name": "https://github.com/pypa/virtualenv",
"strategy": "git",
"subject_version": "21.14.5"
},
{
"ecosystem": "PyPI",
"key": "pkg:pypi/virtualenv@21.14.5",
"name": "virtualenv",
"strategy": "registry",
"subject_version": "21.14.5"
},
{
"ecosystem": "Debian",
"key": "Debian/python-virtualenv",
"name": "python-virtualenv",
"strategy": "distro"
},
{
"ecosystem": "GIT",
"key": "upstream:https://github.com/pypa/virtualenv",
"name": "https://github.com/pypa/virtualenv",
"strategy": "distro",
"subject_version": "21.14.5"
},
{
"ecosystem": "PyPI",
"key": "upstream:pkg:pypi/virtualenv@21.14.5",
"name": "virtualenv",
"strategy": "distro",
"subject_version": "21.14.5"
},
{
"ecosystem": "Ubuntu",
"key": "Ubuntu/python-virtualenv",
"name": "python-virtualenv",
"strategy": "distro"
}
]
},
"details": "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\u0027 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.",
"id": "BREW-virtualenv-CVE-2026-102930",
"modified": "2026-10-05T19:15:39Z",
"published": "2026-10-05T19:15:39Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102930.json"
},
{
"type": "ADVISORY",
"url": "https://github.com/pypa/virtualenv/security/advisories/GHSA-94p9-xgh2-xp45"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-102930"
},
{
"type": "FIX",
"url": "https://github.com/pypa/virtualenv/commit/a01ed3e2f239d6ab1fce62c5c7664ccf268fff6d"
},
{
"type": "FIX",
"url": "https://github.com/pypa/virtualenv/pull/3251"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "virtualenv: Downloaded seed wheels (pip/setuptools) are not integrity-checked before use",
"upstream": [
"CVE-2026-102930",
"GHSA-94p9-xgh2-xp45",
"PYSEC-2026-4011"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.