CVE Catalog

CVE-2026-113715

LowCVSS 2.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

3th percentile - higher than 3% of all known CVEs

Summary

In virtualenv prior to 21.14.9, the stdlib venv creator reads the 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, altering the configuration structure.

Risk Assessment

Setting include-system-site-packages to true weakens environment isolation, and an altered home can change which standard-library files the interpreter loads if the attacker also controls that location. This may lead to isolation bypass and potential execution of unwanted code.

Recommendation

Update virtualenv to version 21.14.9 or later. Do not allow untrusted parties to control the destination path of created environments.

Other vulnerabilities in virtualenv

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS