Reference page — cumulative record through Saturday, November 28, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
CVE-2026-115586
pypa virtualenv — virtualenv: Bash activator leaves the --prompt value unescaped in PS1 when promptvars is off, so prompt expansion later executes it (regression in 21.14.9)
AV AC AT PR UI VC VI VA CVSS EPSS %ile KEV
L H P N A H H H 7.1 .0024 9.5 —
AFFECTED
Product Versions Fixed
virtualenv >= 21.14.9, < 21.14.13 – —
TIMELINE
Oct 22 Reserved by GitHub_M
Oct 23 Published (CNA: GitHub_M)
Nov 24 EXPLOIT PUBLISHED — CVE-2026-115586 (pypa virtualenv). Public exploit reference added.
Description
virtualenv is a tool for creating isolated virtual python environments. From 21.14.9 until 21.14.13, the bash bin/activate script can copy an attacker-controlled --prompt value into PS1 without escaping dollar signs or backticks when both promptvars and POSIX mode are disabled during activation. Re-enabling promptvars, running set -o posix, or starting an interactive child bash that inherits the exported PS1 can then expand command substitution in the stored VIRTUAL_ENV_PROMPT value and execute commands as the user who activates the environment. This issue is fixed in version 21.14.13.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| October 22, 2026 | Reserved | Reserved by GitHub_M |
| October 23, 2026 | Published | Published (CNA: GitHub_M) |
| November 24, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-115586 (pypa virtualenv). Public exploit reference added. |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| pypa | virtualenv | — | >= 21.14.9, < 21.14.13 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-115586 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Saturday, November 28, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.