virtualenv bash activate runs commands from an environment name with a backslash before $
影響: pip:virtualenv <= 21.14.6 → 21.14.7
The bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing \$(...) runs as commands in the user's shell each time bash draws the prompt. Affected area src/virtualenv/activation/bash/activate.sh, the block that prepends the environment name to PS1. Attacker-controlled input The environment name: the environment directory's name, or the --prompt or VIRTUALENV_PROMPT value. A…
| CVE | CVE-2026-113725 |
|---|---|
| 来源 | GitHub Advisory Database |
| 获取时间 | 2026/10/22 03:28 |
| 数据 | Markdown JSON |
2026/10/22 01:49,GitHub Advisory Database 发布了“virtualenv bash activate runs commands from an environment name with a backslash before $”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:Python。CVE:CVE-2026-113725。