Untrusted search path in py3-virtualenv - #VU169660
Published: November 23, 2026
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.