Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-115586

published high CVSS 4.0 · 7.1

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)

Published
23 Oct 2026, 19:34:46 UTC
Updated
23 Oct 2026, 20:55:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pypa — virtualenv>= 21.14.9, < 21.14.13 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2026-4085 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3409 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3410 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvaarch64 Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
Amazon Linux AL2 python-virtualenvnoarch Listed in advisory Not stated ALAS2-2026-4085
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvppc64le Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvs390x Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
Show 10 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvx86_64 Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvaarch64 Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvppc64le Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvs390x Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvx86_64 Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
Amazon Linux AL2 python-virtualenvsrc Listed in advisory Not stated ALAS2-2026-4085
Amazon Linux AL2023 python-virtualenvnoarch Listed in advisory Not stated ALAS2023-2026-3409
Amazon Linux AL2023 python-virtualenvsrc Listed in advisory Not stated ALAS2023-2026-3409
Amazon Linux AL2023 python3.13-virtualenvnoarch Listed in advisory Not stated ALAS2023-2026-3410
Amazon Linux AL2023 python3.13-virtualenvsrc Listed in advisory Not stated ALAS2023-2026-3410

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.1 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pypa virtualenv >= 21.14.9, < 21.14.13 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

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)

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0c1a5eeab47d7113a260a5b34c5ac38866d9a23b5d282aecf7d11405dcb3b57b
Ingested
23 Oct 2026, 21:01:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected