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

published high CVSS 3.1 · 7.8

virtualenv activation scripts run code from a path that contains a placeholder name

Published
20 Oct 2026, 22:03:18 UTC
Updated
28 Oct 2026, 14:54:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pypa — virtualenv>= 20.26.6, < 21.14.2 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Not Affected Not required 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
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 20.26.6 until 21.14.2, ViaTemplateActivator.instantiate_template() replaces placeholders one key at a time across the complete activation template, so trigger names such as __VIRTUAL_NAME__, __VIRTUAL_ENV__, or __VIRTUAL_PROMPT__ inside an already substituted and quoted environment path or prompt can be replaced during a later pass. The later value's quoting can close the earlier literal and execute the remaining path when a user activates the environment through bash, fish, xonsh, or activate_this.py. The distinct csh prompt-display token __VIRTUAL_PROMPT_DISPLAY_TCSH__ can instead break the generated script without establishing command execution. The attacker must influence the destination path or --prompt, and a value without a relevant placeholder name does not trigger this mechanism. This issue is fixed in version 21.14.2.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

2

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 >= 20.26.6, < 21.14.2 (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-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

virtualenv activation scripts run code from a path that contains a placeholder name

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
24f4c2bea12782d4a5fd8ef34299ea5a1b10b62c08ccfef80c88c44f593da887
Ingested
28 Oct 2026, 15:01:21 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