OS Command Injection in py3-virtualenv - #VU169684

 

OS Command Injection in py3-virtualenv - #VU169684

Published: November 23, 2026


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

Vulnerability details

The vulnerability allows a local user to execute commands with the permissions of the user who sources a leftover activation script.

The vulnerability exists due to improper neutralization of shell metacharacters in stock activation scripts that the stdlib venv creator can leave behind when activation script generation is excluded or skipped for a shell. A local user can control the environment path to cause command execution if another user sources one of those scripts.


Affected software

py3-virtualenv

Remediation

Install security update from vendor's website.

py3-virtualenv - update to 21.15.10

External References

Related Security Bulletins