OS Command Injection in py3-virtualenv - #VU151613
Published: September 22, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary commands.
The vulnerability exists due to improper neutralization of special elements used in an os command in the generated bash, zsh, and fish activation scripts when a user sources an activation script generated for a path containing shell metacharacters. A remote attacker can provide a crafted path containing shell metacharacters to execute arbitrary commands.
User interaction is required to source the crafted activation script.