Skip to main content
← All vulnerabilities
CVE-2026-113715GHSA-QMX5-4P3X-WVQF

virtualenv: Venv configuration readback can reinterpret path boundaries

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 21.14.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • pypa virtualenv

    fixed in 21.14.9

  • virtualenvPyPI

    fixed in 21.14.9

References 4

GitHub · pypa/virtualenv