Code Injection in py3-virtualenv - #VU169661
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary Python code with the privileges of the user who invokes an affected pip launcher.
The vulnerability exists due to improper control of code generation in the pip seeder when it rewrites launchers for environments created with the builtin creator on POSIX, allowing part of the destination path to be interpreted as Python code. A remote attacker can influence the environment's destination path and rely on a user to invoke the generated launcher to execute Python code.