CVE-2026-113732
published high CVSS 3.1 · 7.8virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pypa | — | virtualenv< 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 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-virtualenvaarch64 | Advisory build | 21.15.1-1.1 | OPENSUSE-SU-2026:12372-1 |
| Amazon Linux | AL2023 | python-virtualenvnoarch | Listed in advisory | Not stated | ALAS2023-2026-3409 |
| 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 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | 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.14.2, FishActivator inherits ViaTemplateActivator.quote(), which uses POSIX shlex.quote() even though fish interprets backslashes and single quotes differently. An attacker-influenced environment path, --prompt, or VIRTUALENV_PROMPT value containing a backslash before a quote can therefore terminate the generated fish literal and execute command substitution when the user sources activate.fish. This issue is fixed in version 21.14.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pypa | virtualenv | < 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')
- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
3Provider assertions
2GitHub_M · cna
virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 604adf28c1b000f8fe5caa692168992a38804d36cf846e9cce552103e4bae85f
- Ingested
- 27 Oct 2026, 13:31:33 UTC
- Source record
- Official CVE record