CVE-2026-113715

NameCVE-2026-113715
Descriptionvirtualenv 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1151685

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-virtualenv (PTS)bookworm20.17.1+ds-1vulnerable
trixie20.31.2+ds-1+deb13u1vulnerable
forky, sid21.5.1+ds-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-virtualenvsource(unstable)(unfixed)1151685

Notes

https://github.com/pypa/virtualenv/security/advisories/GHSA-qmx5-4p3x-wvqf
https://github.com/pypa/virtualenv/pull/3426
Fixed by: https://github.com/pypa/virtualenv/commit/b0008a58885ded9227faf8f910c6c402712c750a (21.14.9)

Search for package or bug name: Reporting problems