CVE-2026-113715

Low

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.

SeverityLow
CVSS2.0
Exploit probability—
ProductVirtualenv
PublishedOct 20, 2026
First seenOct 20, 2026
Weakness typeCWE-93CWE-93

How to fix

Update
  • virtualenv21.14.9 or later

Affected products

ProductAffected versionsFixed in
virtualenvPyPIv < 21.14.921.14.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.