CVE-2026-113715
Severity not reportedvirtualenv is a tool for creating isolated virtual python environments.
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.
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/pypa/virtualenv/commit/b0008a58885ded9227faf8f910c6c402712c750a security-advisories@github.com
- https://github.com/pypa/virtualenv/pull/3426 security-advisories@github.com
- https://github.com/pypa/virtualenv/releases/tag/21.14.9 security-advisories@github.com
- https://github.com/pypa/virtualenv/security/advisories/GHSA-qmx5-4p3x-wvqf security-advisories@github.com
- https://github.com/pypa/virtualenv/security/advisories/GHSA-qmx5-4p3x-wvqf 134c704f-9b21-4f2e-91b3-4a467353bcc0
