THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-5vjq-rrrf-7h2q (high) — virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST

[GHSA] GHSA-5vjq-rrrf-7h2q (high) — virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST

highgithub_advisoriesPublished 2026-10-21

GHSA-5vjq-rrrf-7h2q Severity: high CVE: CVE-2026-113726

virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST

### Impact

zsh users activate an environment with the bash `activate` script, which puts the environment name into `PS1`. Since 21.13.0 the script escapes backslashes, dollar signs and backticks in that name, but only when `BASH_VERSION` is set, so zsh get

Indicators of compromise

Original source: https://github.com/advisories/GHSA-5vjq-rrrf-7h2q