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…
| CVE | CVE-2026-113726 |
|---|---|
| 情報源 | GitHub Advisory Database |
| 取得日時 | 2026/10/22 03:28 |
| データ | Markdown JSON |
2026/10/22 01:46、GitHub Advisory Databaseが「virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: Python。CVE: CVE-2026-113726。