Inappropriate Encoding for Output Context in py3-virtualenv - #VU169678

 

Inappropriate Encoding for Output Context in py3-virtualenv - #VU169678

Published: November 23, 2026


Vulnerability identifier: #VU169678
CSH Severity: Low
CVSS v4: 1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-838
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute shell commands with the privileges of the user activating the virtual environment.

The vulnerability exists due to inappropriate output encoding in virtualenv's tcsh activation script when tcsh interprets part of a generated non-ASCII prompt as shell syntax under a Big5-HKSCS locale. A local user can control the activation prompt to execute shell commands when another user sources the generated script.


Affected software

py3-virtualenv

Remediation

Install security update from vendor's website.

py3-virtualenv - update to 21.15.10

External References

Related Security Bulletins