CVE-2026-113715
LOW 2.0CVSS 4.0virtualenv: Venv configuration readback can reinterpret path boundaries
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.
- Published
- 20 Oct 2026
- Last modified
- 18 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-93
- Also known as
- BIT-virtualenv-2026-113715GHSA-qmx5-4p3x-wvqfPYSEC-2026-4374
- Sources
- NVDJSONOSV GHSA-qmx5-4p3x-wvqfJSONOSV PYSEC-2026-4374JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 2.0 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | virtualenv | virtualenvcpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:* |
>= 20.0.0, < 21.14.9 | 21.14.9 |
| OSV | PyPI | virtualenv | < 21.14.9 | 21.14.9 |
| OSV | PyPI | virtualenv | >= 20.0.0, < 21.14.9 | 21.14.9 |
References
- https://github.com/pypa/virtualenv/commit/b0008a58885ded9227faf8f910c6c402712c750a · Patch, WEB, FIX
- https://github.com/pypa/virtualenv/pull/3426 · Issue Tracking, Patch, WEB, FIX
- https://github.com/pypa/virtualenv/releases/tag/21.14.9 · Release Notes, WEB, ADVISORY
- https://github.com/pypa/virtualenv/security/advisories/GHSA-qmx5-4p3x-wvqf · Exploit, Mitigation, Patch, Vendor Advisory, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2026-113715 · ADVISORY
- https://github.com/pypa/virtualenv · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 20 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Oct 2026)