CVE-2026-113715
virtualenv is a tool for creating isolated virtual python …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/pypa/virtualenv/commit/b0008a58885ded9227faf8f910c6c402712c750a
- github.com/pypa/virtualenv/pull/3426
- github.com/pypa/virtualenv/releases/tag/21.14.9
- github.com/pypa/virtualenv/security/advisories/GHSA-qmx5-4p3x-wvqf
- nvd.nist.gov/vuln/detail/CVE-2026-113715
- github.com/advisories/GHSA-qmx5-4p3x-wvqf
- nvd.nist.gov/vuln/detail/CVE-2026-113715
- cve.org/CVERecord?id=CVE-2026-113715
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.