| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5vjq-rrrf-7h2q | virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST |
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Wed, 28 Oct 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Thu, 22 Oct 2026 13:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pypa
Pypa virtualenv |
|
| Vendors & Products |
Pypa
Pypa virtualenv |
Wed, 21 Oct 2026 12:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
Tue, 20 Oct 2026 22:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | virtualenv is a tool for creating isolated virtual python environments. Prior to 21.13.0, the bash activate script that zsh also sources leaves the environment name unescaped; from 21.13.0 until 21.14.4, it escapes backslashes, dollar signs, and backticks only when BASH_VERSION is set, so zsh receives the raw value. The script assigns that value to PS1. In zsh with PROMPT_SUBST, an attacker-influenced environment directory, --prompt, or VIRTUALENV_PROMPT value containing command, parameter, or arithmetic expansion syntax can therefore execute commands in the user's shell each time the prompt is drawn. A percent sign is separately interpreted as a zsh prompt escape but does not by itself execute commands. Plain zsh with PROMPT_SUBST disabled and bash are not affected by this mechanism. This issue is fixed in version 21.14.4. | |
| Title | virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST | |
| Weaknesses | CWE-116 CWE-78 |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-10-27T21:31:29.377Z
Reserved: 2026-10-20T16:03:14.863Z
Link: CVE-2026-113726
Updated: 2026-10-27T21:31:25.626Z
Status : Awaiting Analysis
Published: 2026-10-20T22:19:29.423
Modified: 2026-10-27T22:17:23.223
Link: CVE-2026-113726
OpenCVE Enrichment
Updated: 2026-10-22T13:00:06Z
Github GHSA