CVE-2026-113715Virtualenv
Low 2.0
Follow: this CVE · Virtualenv · Virtualenv We alert you by email or Slack (account required).
- Priority
- 12
- CVSS 4.0
- 2.0
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 20, 2026
- Updated
- Nov 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-93
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the stdlib venv creator reads generated pyvenv.cfg with str.splitlines() and merges parsed keys over virtualenv's selected configuration. An untrusted caller who influences the destination pathname can include a line-boundary character such as U+2028 to inject keys including home and include-system-site-packages, causing path data to change configuration structure before final output. Setting include-system-site-packages to true weakens environment isolation, while an altered home can change which standard-library files the interpreter loads if the attacker also controls that location. The builtin creator does not use this readback path. This issue is fixed in version 21.14.9.
What to do
- Apply the vendor's security update for Virtualenv.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | virtualenv |
< 21.14.9 |
21.14.9 |
pip install "virtualenv>=21.14.9" |
| PyPI | virtualenv |
≥ 20.0.0 < 21.14.9 |
21.14.9 |
pip install "virtualenv>=21.14.9" |
Per OSV / GitHub Advisories (GHSA-qmx5-4p3x-wvqf, PYSEC-2026-4374). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| virtualenv | virtualenv | ≥ 20.0.0 < 21.14.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Exploit Mitigation Patch