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…
Read on GitHub Advisory Database
| CVE | CVE-2026-113725 |
|---|---|
| Source | GitHub Advisory Database |
| Fetched | 10/22/2026, 03:28 AM |
| Data | Markdown JSON |
On 10/22/2026, 01:49 AM, GitHub Advisory Database published "virtualenv bash activate runs commands from an environment name with a backslash before $" (type: Advisory). Severity is "High" (high). Related technologies: Python. CVE: CVE-2026-113725.