llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · virtualenv

GHSA-94P9-XGH2-XP45

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

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -12 d de la divulgación
Exposición49 dDesde la divulgación, 30 sept 2026, 6:54 p. m.
Detección47 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 21.7.12
Monitoreo
Detectada
18 sept 26
30 sept 26
6 oct 26
17 nov 26
19 nov 26
18 sept 26
4 oct 26
19 oct 26
4 nov 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 21.7.12 virtualenv · -12 d desde divulgación
Divulgación Publicada GHSA-94P9-XGH2-XP45 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

`download_wheel()` runs `pip download` and hands the result straight to the seeder, with nothing checking the bytes it gets back. The embedded pip and setuptools wheels carry a `BUNDLE_SHA256` that virtualenv checks on every load, but a wheel fetched over the network for the periodic-update feature or the `--download` flag had no equivalent verification.

A compromised index, a stale mirror, or a MITM'd download (when TLS is intercepted, e.g. via a misconfigured or malicious CA) could substitute a different wheel under the same distribution/version/filename, and virtualenv would cache and seed it into every environment created afterward with no warning.

Fixed by computing the downloaded wheel's sha256 and comparing it against the digest PyPI's public JSON API reports for that exact release, independent of which index actually served the file. The check is skipped, not treated as failure, when a custom index (`PIP_INDEX_URL`, `PIP_EXTRA_INDEX_URL`, `PIP_INDEX`) is configured, since a private index can legitimately serve a different, intentionally rebuilt wheel. Fix: https://github.com/pypa/virtualenv/pull/3251

Versiones

Rangos afectados

Afectada Corregida Última
virtualenv< 21.7.12
21.7.12
21.15.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypivirtualenv
Corregida 21.7.12 -12 d 21.15.6 no afectada
Versiones corregidas21.7.12
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-102930
Otrahttps://github.com/pypa/virtualenv/security/advisories/GHSA-94p9-xgh2-xp45
Otrahttps://github.com/pypa/virtualenv/pull/3251
Otrahttps://github.com/pypa/virtualenv/commit/a01ed3e2f239d6ab1fce62c5c7664ccf268fff6d
Otrahttps://github.com/pypa/advisory-database/tree/main/vulns/virtualenv/PYSEC-2026-4011.yaml
Otrahttps://github.com/pypa/virtualenv
Otrahttps://github.com/pypa/virtualenv/releases/tag/21.7.12
Otrahttps://pypi.org/project/virtualenv

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.