Skip to main content
← All vulnerabilities
CVE-2026-113716GHSA-CW65-GX24-RC82BIT-VIRTUALENV-2026-113716

virtualenv: Builtin creation follows linked environment directories

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

Summary

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the builtin creator calls ensure_dir() for executable, library, and package directories, and ensure_dir() accepts an existing symlink to a directory because exists() follows it. Interpreter creation, seed installation, and activation generation then write through the linked parent outside the requested destination when another local account prepared the tree and the invoking user can access the target. The --clear option removes the planted tree first, while ordinary creation reaches it; arbitrary attacker-selected output bytes are not established. This issue is fixed in version 21.14.9.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated
  4. First seen by cve.now

Affected versions

  • pypa virtualenv

    fixed in 21.14.9

  • virtualenvPyPI

    fixed in 21.14.9

References 4

GitHub · pypa/virtualenv