CVE-2026-115586
HIGH 7.8
Summary
virtualenv is a tool for creating isolated virtual python environments. From 21.14.9 until 21.14.13, the bash bin/activate script can copy an attacker-controlled --prompt value into PS1 without escaping dollar signs or backticks when both promptvars and POSIX mode are disabled during activation. Re-enabling promptvars, running set -o posix, or starting an interactive child bash that inherits the exported PS1 can then expand command substitution in the stored VIRTUAL_ENV_PROMPT value and execute commands as the user who activates the environment. This issue is fixed in version 21.14.13.
Key facts
- Vendor: virtualenv
- CVSS 3.1: 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
- EPSS (30-day exploitation probability): 0.25%
- Published: 2026-10-23
- Last modified: 2026-11-24
- Weakness: CWE-78
Data aggregated from NVD, CISA KEV, FIRST EPSS and OSV.dev. Updated 2026-12-02.
Get alerts and watchlists for vulnerabilities like this · Browse all vulnerabilities