CVE-2026-113715

GHSA-qmx5-4p3x-wvqf · PYSEC-2026-4374 · published 20 Oct 2026 · updated 18 Nov 2026

virtualenv: Venv configuration readback can reinterpret path boundaries

3.0LowCVSS 2.0EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 21.14.9 and virtualenv 21.14.9.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pypa<21.14.9
virtualenvvirtualenv>=20.0.0 <21.14.921.14.9
pypi: virtualenv<21.14.9, >=20.0.0 <21.14.921.14.9

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in virtualenv (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-113715 severity on Zeptric[![CVE-2026-113715](https://zeptric.io/badge/cve/CVE-2026-113715.svg)](https://zeptric.io/cve/CVE-2026-113715)