virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST
影響: pip:virtualenv <= 21.14.3 → 21.14.4
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 gets the raw value. With the PROMPT_SUBST option set, zsh runs parameter expansion, command substitution and arithmetic expansion on PS1 each time it draws the prompt. A name that contains $(...), backticks or ${...} then runs as commands in the user's she…
Read on GitHub Advisory Database
| CVE | CVE-2026-113726 |
|---|---|
| Source | GitHub Advisory Database |
| Fetched | 10/22/2026, 03:28 AM |
| Data | Markdown JSON |
On 10/22/2026, 01:46 AM, GitHub Advisory Database published "virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST" (type: Advisory). Severity is "High" (high). Related technologies: Python. CVE: CVE-2026-113726.