CVE-2026-113722: virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax
Vulnerability summary
CVE-2026-113722 is a high (CVSS 7.8) vulnerability in pypa virtualenv. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 19% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 20-10-2026PublishedVulnerability first disclosed.
- 23-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · PypiEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
Decrease -0.02 pp
From 0.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundVirtualenv
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard10 products
- nemo-rl-cuda-13.0All versions (No fix recorded) | < 0.7.0-r15
- nemo-rl-cuda-13.0-automodelAll versions (No fix recorded) | < 0.7.0-r15
- nemo-rl-cuda-13.0-mcoreAll versions (No fix recorded) | < 0.7.0-r15
- nemo-rl-cuda-13.0-sglangAll versions (No fix recorded) | < 0.7.0-r15
- nemo-rl-cuda-13.0-vllmAll versions (No fix recorded) | < 0.7.0-r15
Debian1 product
- python-virtualenvAll versions (No fix recorded) | < 21.15.6+ds-1
Pypa1 product
- virtualenv< 21.14.9
PyPI1 product
- virtualenv< 21.14.9 | ≥ 20.0.0, < 21.14.9
Ubuntu1 product
- python-virtualenvAll versions (No fix recorded)
Virtualenv1 product
- virtualenv≥ 20.0.0, < 21.14.9
Wolfi1 product
- py3-cassandra-medusaAll versions (No fix recorded) | < 0.31.0-r1
7 vendors · 16 products
References
10 links- github.com/pypa/virtualenv/security/advisories/GHSA-c978-59m8-c77vX Refsource CONFIRMWEBAdvisoryREPORTExploitMitigationVendor AdvisoryEVIDENCE
- github.com/pypa/virtualenv/commit/2519941bed33ee0d3ac99277f67913e439e476a9X Refsource MISCWEBFIXPatch
- github.com/pypa/virtualenvPACKAGE