Vulnerability
CVE-2026-115586
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.
22 advisories report this vulnerability, across 7 ecosystems.
Advisories in Chainguard
- CGA-743v-9hm7-cr5g
- CGA-8638-36cm-58fv
- CGA-9wqm-jxh9-qfv4
- CGA-cpr8-q37x-x53w
- CGA-gh55-4hpp-r2v6
- CGA-gv44-7v84-75hw
- CGA-hxqh-wf29-q8mj
- CGA-phgv-wq38-qq3v
- CGA-qw74-c5cg-466g
- CGA-rc9m-8g8x-3mf8
- CGA-rjjp-x496-j9c3
- CGA-rmjh-pg37-6mvf
- CGA-x99m-c96r-9v5q
- CGA-xw99-2xfr-cxg2