Resources Downloaded over Insecure Protocol Affecting virtualenv package, versions [,21.7.12)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-VIRTUALENV-20335492
  • published30 Sept 2026
  • disclosed29 Sept 2026
  • creditBernát Gábor

Introduced: 29 Sep 2026

NewCVE-2026-102930  (opens in a new tab)
CWE-494  (opens in a new tab)

How to fix?

Upgrade virtualenv to version 21.7.12 or higher.

Overview

Affected versions of this package are vulnerable to Resources Downloaded over Insecure Protocol via the download_wheel function in src/virtualenv/seed/wheels/acquire.py, which invokes pip download to fetch seed wheels without subsequently verifying the downloaded wheel's SHA-256 digest against the PyPI JSON API. An attacker positioned between the client and the package index can serve a tampered wheel that pip accepts, and because no digest check is performed, the malicious wheel is silently used to seed new virtual environments, leading to full compromise of the seeded environment's integrity and confidentiality.

Note: This is only exploitable when the default PyPI index is in use and an attacker can intercept or manipulate the download (e.g. via a MitM or a compromised mirror).

CVSS Base Scores

version 4.0
version 3.1