PyPA Advisory Database
PYSEC-2026-4382
Details
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, caller-supplied prompt text can become executable syntax in the bash activation prompt. An attacker must influence the value passed to virtualenv, and a user must subsequently activate the environment and draw the prompt. This vulnerability is fixed in 21.14.9.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | virtualenv | From 20.0.0 before 21.14.9 (fixed in 21.14.9) |