CVE-2026-113722
published high CVSS 3.1 · 7.8virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pypa | — | virtualenv< 21.14.9 | 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.9, virtualenv's ScriptMakerCustom and pip pass an incompletely quoted interpreter path to distlib ScriptMaker when generating POSIX console scripts. When the path contains a space or produces a shebang longer than 127 bytes, distlib emits a /bin/sh wrapper whose double-quoted interpreter path still expands command substitutions and backticks. An attacker who influences the environment destination can therefore execute commands with the user's privileges when the user later runs a generated launcher; environment creation and activation do not trigger the command. Existing launchers are not repaired by upgrading virtualenv alone and must be regenerated, while a later independent pip installation or upgrade can reintroduce an affected launcher because pip's vendored distlib is unchanged. The virtualenv fix is released in version 21.14.9.
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.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4Provider assertions
2GitHub_M · cna
virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 254e1a169fbd1bab729a95ac72f6475fd03560e3eeb32b72a2526a498e8ceba7
- Ingested
- 23 Oct 2026, 02:09:15 UTC
- Source record
- Official CVE record