OS Command Injection in py3-virtualenv - #VU169665
Published: November 23, 2026
Vulnerability details
The vulnerability allows a local user to execute arbitrary shell commands with the permissions of the user activating the environment.
The vulnerability exists due to improper neutralization of shell history substitution characters in the generated activate.csh script when csh or tcsh processes the environment prompt with a nondefault history character. A local user can control the environment prompt to execute commands when the victim sources the script.