OS Command Injection in py3-virtualenv - #VU151613

 

OS Command Injection in py3-virtualenv - #VU151613

Published: September 22, 2026


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

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.


Affected software

py3-virtualenv

Remediation

Install security update from vendor's website.

py3-virtualenv - update to 21.7.13

External References

Related Security Bulletins