Untrusted search path in py3-virtualenv - #VU169674
Published: November 23, 2026
Vulnerability details
The vulnerability allows a local user to execute arbitrary code with another user's permissions.
The vulnerability exists due to an untrusted standard-library search path in virtualenv's copy mode when a copied CPython shared library on POSIX searches for a sibling standard-library archive outside the environment. A local user can influence which code is loaded from an external search location they can modify to execute code when another user starts the interpreter.