Skip to content
Heist/ feed
Back to feed
High

python-virtualenv — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-102930

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.

Products
python-virtualenv
Affected versions
1.10.1-1, 1.11-1, 1.11-2, 1.11.4-1, 1.11.4-1ubuntu1, 1.11.6+ds-1, 14.0.5+ds-1, 14.0.5+ds-2, 14.0.5+ds-4, 15.0.0+ds-1, 15.0.0+ds-2, 15.0.1+ds-1, 15.0.1+ds-2, 15.0.1+ds-3, 15.0.1+ds-3ubuntu1, 15.0.1+ds-3ubuntu1.1, 15.1.0+ds-1, 15.1.0+ds-1.1, 15.1.0+ds-2, 15.1.0+ds-2build1, 15.1.0+ds-2ubuntu1, 20.0.13-1, 20.0.17-1, 20.0.17-1ubuntu0.3, 20.0.17-1ubuntu0.4, 20.0.17-1ubuntu0.4+esm1, 20.10.0+ds-1, 20.12.1+ds-1, 20.13.0+ds-1, 20.13.0+ds-2, 20.13.0+ds-2ubuntu0.1~esm1, 20.24.1+ds-1, 20.24.6+ds-1, 20.24.6+ds-2, 20.25.0+ds-1, 20.25.0+ds-2, 20.25.0+ds-2ubuntu0.1~esm1, 20.31.2+ds-1, 20.35.3+ds-1, 20.35.4+ds-1, 20.36.1+ds-1, 20.4.6+ds-2, 21.4.1+ds-1, 21.5.1+ds-1
Fixed versions
Not specified
CVEs
CVE-2026-102930
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:57 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-102930

core-osv · Original source

Published 29 Sept 2026, 21:17 UTC

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.

osv:UBUNTU-CVE-2026-102930

python-virtualenv

Fixed versions: Not specified

python-virtualenv

Fixed versions: Not specified

python-virtualenv

Fixed versions: Not specified

python-virtualenv

Fixed versions: Not specified

python-virtualenv

Fixed versions: Not specified

python-virtualenv

Fixed versions: Not specified

python-virtualenv

Fixed versions: Not specified

python-virtualenv

Fixed versions: Not specified

Complete source record
{
  "id": "9e5a7b3b7ad6c3d05540eed34cc364065d38f26640119efacb39d15da4576fb2",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-102930",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-102930",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2026-102930",
    "products": [
      {
        "name": {
          "value": "python-virtualenv",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.11-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.11-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.11.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.11.4-1ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-virtualenv",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.11.6+ds-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "14.0.5+ds-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "14.0.5+ds-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "14.0.5+ds-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "15.0.0+ds-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "15.0.0+ds-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "15.0.1+ds-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "15.0.1+ds-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "15.0.1+ds-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "15.0.1+ds-3ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "15.0.1+ds-3ubuntu1.1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-virtualenv",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "15.1.0+ds-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "15.1.0+ds-1.1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-virtualenv",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "15.1.0+ds-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "15.1.0+ds-2build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "15.1.0+ds-2ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "20.0.13-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "20.0.17-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "20.0.17-1ubuntu0.3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "20.0.17-1ubuntu0.4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "20.0.17-1ubuntu0.4+esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-virtualenv",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "20.4.6+ds-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "20.10.0+ds-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "20.12.1+ds-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "20.13.0+ds-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "20.13.0+ds-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "20.13.0+ds-2ubuntu0.1~esm1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-virtualenv",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "20.24.1+ds-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "20.24.6+ds-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "20.24.6+ds-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "20.25.0+ds-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "20.25.0+ds-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "20.25.0+ds-2ubuntu0.1~esm1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-virtualenv",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "20.36.1+ds-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "21.4.1+ds-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "21.5.1+ds-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-virtualenv",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "20.31.2+ds-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "20.35.3+ds-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "20.35.4+ds-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "20.36.1+ds-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-102930",
      "aliases": [
        "UBUNTU-CVE-2026-102930"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "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": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-virtualenv",
            "purl": "pkg:deb/ubuntu/python-virtualenv?arch=source&distro=trusty",
            "ecosystem": "Ubuntu:14.04:LTS"
          },
          "versions": [
            "1.10.1-1",
            "1.11-1",
            "1.11-2",
            "1.11.4-1",
            "1.11.4-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102930.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-virtualenv",
                "binary_version": "1.11.4-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-virtualenv",
            "purl": "pkg:deb/ubuntu/python-virtualenv?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.11.6+ds-1",
            "14.0.5+ds-1",
            "14.0.5+ds-2",
            "14.0.5+ds-4",
            "15.0.0+ds-1",
            "15.0.0+ds-2",
            "15.0.1+ds-1",
            "15.0.1+ds-2",
            "15.0.1+ds-3",
            "15.0.1+ds-3ubuntu1",
            "15.0.1+ds-3ubuntu1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102930.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-virtualenv",
                "binary_version": "15.0.1+ds-3ubuntu1.1"
              },
              {
                "binary_name": "python3-virtualenv",
                "binary_version": "15.0.1+ds-3ubuntu1.1"
              },
              {
                "binary_name": "virtualenv",
                "binary_version": "15.0.1+ds-3ubuntu1.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-virtualenv",
            "purl": "pkg:deb/ubuntu/python-virtualenv?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "15.1.0+ds-1",
            "15.1.0+ds-1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102930.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-virtualenv",
                "binary_version": "15.1.0+ds-1.1"
              },
              {
                "binary_name": "python3-virtualenv",
                "binary_version": "15.1.0+ds-1.1"
              },
              {
                "binary_name": "virtualenv",
                "binary_version": "15.1.0+ds-1.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-virtualenv",
            "purl": "pkg:deb/ubuntu/python-virtualenv?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "15.1.0+ds-2",
            "15.1.0+ds-2build1",
            "15.1.0+ds-2ubuntu1",
            "20.0.13-1",
            "20.0.17-1",
            "20.0.17-1ubuntu0.3",
            "20.0.17-1ubuntu0.4",
            "20.0.17-1ubuntu0.4+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102930.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-virtualenv",
                "binary_version": "20.0.17-1ubuntu0.4+esm1"
              },
              {
                "binary_name": "virtualenv",
                "binary_version": "20.0.17-1ubuntu0.4+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-virtualenv",
            "purl": "pkg:deb/ubuntu/python-virtualenv?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "20.4.6+ds-2",
            "20.10.0+ds-1",
            "20.12.1+ds-1",
            "20.13.0+ds-1",
            "20.13.0+ds-2",
            "20.13.0+ds-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102930.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-virtualenv",
                "binary_version": "20.13.0+ds-2ubuntu0.1~esm1"
              },
              {
                "binary_name": "virtualenv",
                "binary_version": "20.13.0+ds-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-virtualenv",
            "purl": "pkg:deb/ubuntu/python-virtualenv?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "20.24.1+ds-1",
            "20.24.6+ds-1",
            "20.24.6+ds-2",
            "20.25.0+ds-1",
            "20.25.0+ds-2",
            "20.25.0+ds-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102930.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-virtualenv",
                "binary_version": "20.25.0+ds-2ubuntu0.1~esm1"
              },
              {
                "binary_name": "virtualenv",
                "binary_version": "20.25.0+ds-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-virtualenv",
            "purl": "pkg:deb/ubuntu/python-virtualenv?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "20.36.1+ds-1",
            "21.4.1+ds-1",
            "21.5.1+ds-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102930.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-virtualenv",
                "binary_version": "21.5.1+ds-1"
              },
              {
                "binary_name": "virtualenv",
                "binary_version": "21.5.1+ds-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-virtualenv",
            "purl": "pkg:deb/ubuntu/python-virtualenv?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "20.31.2+ds-1",
            "20.35.3+ds-1",
            "20.35.4+ds-1",
            "20.36.1+ds-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102930.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-virtualenv",
                "binary_version": "20.36.1+ds-1"
              },
              {
                "binary_name": "virtualenv",
                "binary_version": "20.36.1+ds-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:57.322267362Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-102930"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-102930",
        "https://www.cve.org/CVERecord?id=CVE-2026-102930",
        "https://github.com/pypa/virtualenv/commit/a01ed3e2f239d6ab1fce62c5c7664ccf268fff6d",
        "https://github.com/pypa/virtualenv/pull/3251",
        "https://github.com/pypa/virtualenv/security/advisories/GHSA-94p9-xgh2-xp45"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-102930",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 357774,
  "published_at": "2026-09-29T21:17:00+00:00"
}