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-113726

published high CVSS 3.1 · 7.8

virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST

Published
20 Oct 2026, 22:05:24 UTC
Updated
27 Oct 2026, 21:31:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pypa — virtualenv< 21.14.4 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. 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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pypa virtualenv < 21.14.4 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (GitHub_M · cna)
  • CWE-116 CWE-116: Improper Encoding or Escaping of Output (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
35f1e277792d8e1abeaf0313948b0bf777e1e79f3260fc1d7a4e6fd6dec3bd55
Ingested
27 Oct 2026, 21:42:07 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