Skip to content
OpenAdvisories
Low · 2.0 CVE-2026-113715 BIT-virtualenv-2026-113715EUVD-2026-105301GHSA-qmx5-4p3x-wvqf

virtualenv: Venv configuration readback can reinterpret path boundaries

Published Oct 20, 2026 · Updated Oct 23, 2026 · Assigned by GitHub_M

Description

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

VendorProductAffectedFixed
pypa virtualenv < 21.14.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-virtualenv No fix yet —
Debian 13 python-virtualenv No fix yet —
Debian 12 python-virtualenv No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-virtualenv No fix yet —
Ubuntu 26.04 LTS python-virtualenv No fix yet —
Ubuntu 18.04 LTS python-virtualenv No fix yet —
Ubuntu 16.04 LTS python-virtualenv No fix yet —
Ubuntu 14.04 LTS python-virtualenv No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS python-virtualenv No fix yet —
Ubuntu Pro 22.04 LTS python-virtualenv No fix yet —
Ubuntu Pro 20.04 LTS python-virtualenv No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3-virtualenv 20.4.0-3.amzn2023.0.6 ALAS2023-2026-3409
Amazon Linux 2023 python3.13-virtualenv 20.21.1-1.amzn2023.0.5 ALAS2023-2026-3410

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-virtualenv 20.36.1-10 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI virtualenv < 21.14.9 21.14.9 GHSA-qmx5-4p3x-wvqf

Advisories 2

References