Insecure DLL loading in py3-virtualenv - #VU169664
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code with the privileges of the user creating the virtual environment.
The vulnerability exists due to an uncontrolled module search path element in virtualenv's Python helper startup when the interpreter can import code from an untrusted working directory before the helper removes that directory from the search path. A remote attacker can supply an untrusted checkout and induce a user to create a virtual environment from that directory to execute code as that user.