Bug 2581916

Summary: CVE-2026-102930 uv: virtualenv: Arbitrary code execution via unverified downloaded seed wheels [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Ganesh <gnaik>
Component: uvAssignee: Ben Beasley <code>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: epel10CC: code, mhroncok, python-packagers-sig, rust-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["2f3c244d-74b8-40b3-b955-b3d70c67f20a"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-23 20:10:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2543652    

Description Ganesh 2026-11-23 15:25:39 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Ben Beasley 2026-11-23 20:10:26 UTC
The virtualenv code vendored in uv is only the activation scripts, but download_wheel() refers to a Python library function.

It is entirely possible for uv to have a parallel bug to virtualenv in code that is not shared between the two, as it does many similar tasks with similar algorithms even though the implementations are independent. This has happened before. However, I don’t see a reason to think that this is particularly likely in this case, nor do I see a straightforward way to check.

Under the circumstances, I think it’s reasonable to deem uv unaffected unless new information appears.