Untrusted search path in py3-virtualenv - #VU169660

 

Untrusted search path in py3-virtualenv - #VU169660

Published: November 23, 2026


Vulnerability identifier: #VU169660
CSH Severity: Low
CVSS v4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-426
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code under the victim's account when the victim runs pip from an environment seeded with a modified wheel.

The vulnerability exists due to an untrusted search path in virtualenv's seed wheel acquisition when bundled pip resolves an index URL as a working-directory path on POSIX and pip index settings disable PyPI digest verification. A remote attacker can supply an untrusted project tree where the victim runs virtualenv to substitute a modified pip wheel during a seed download and introduce it into the shared wheel cache.


Affected software

py3-virtualenv

Remediation

Install security update from vendor's website.

py3-virtualenv - update to 21.15.10

External References

Related Security Bulletins