OS Command Injection in py3-virtualenv - #VU151615

 

OS Command Injection in py3-virtualenv - #VU151615

Published: September 22, 2026


Vulnerability identifier: #VU151615
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/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 in BatchActivator.quote() when handling an attacker-controlled virtual environment prompt. A remote attacker can supply a crafted prompt value to execute arbitrary commands.

User interaction is required to activate the virtual environment on Windows.


Affected software

py3-virtualenv

Remediation

Install security update from vendor's website.

py3-virtualenv - update to 21.7.12

External References

Related Security Bulletins