Inappropriate Encoding for Output Context in py3-virtualenv - #VU169675
Published: November 23, 2026
Vulnerability details
The vulnerability allows a local user to execute arbitrary shell commands with the privileges of the user activating the virtual environment.
The vulnerability exists due to inappropriate output encoding in virtualenv's Bash activation script generator when embedding a Unicode prompt in the script. A local user can influence the prompt at environment creation to execute shell commands when another user sources the generated script in Bash under the GB18030 locale.