ADVISORIES

Vulnerability

CVE-2026-113721

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, ViaTemplateActivator._generate() removes an existing output only when Path.exists() is true, allowing a dangling symlink to survive and redirect generated activation content, while PyEnvCfg.write() opens pyvenv.cfg without first replacing an existing symbolic or hard link. Another local account that prepares final entries inside the destination can therefore cause environment creation to create or overwrite files outside the requested tree with constrained virtualenv-generated content and the invoking user's permissions. The destination parent must remain controlled by the environment owner during creation; concurrent parent-directory replacement is a separate concern. This issue is fixed in version 21.14.9.

13 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • AZL-110124

    CVE-2026-113721 affecting package python-virtualenv for versions less than 20.36.1-10

    CVE-2026-113721 Azure Linux Updated 24 November 2026
  • CGA-2572-vx4v-2jrq
    CVE-2026-113721 Chainguard Updated 27 October 2026
  • CGA-2jc3-34xm-vh7g
    CVE-2026-113721 Chainguard Updated 27 October 2026
  • CGA-cxvp-9rvq-cxrf
    CVE-2026-113721 Chainguard Updated 27 October 2026
  • CGA-g772-4v3v-pqpv
    CVE-2026-113721 Chainguard Updated 27 October 2026
  • CGA-jccp-4c4h-6p8r
    CVE-2026-113721 Chainguard Updated 26 October 2026
  • CGA-p9xh-j4gh-38q9
    CVE-2026-113721 Chainguard Updated 27 October 2026
  • CGA-r7f9-4528-4v7v
    CVE-2026-113721 Chainguard Updated 27 October 2026
  • DEBIAN-CVE-2026-113721

    virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, ViaTemplateActivator._generate() removes an existing output only when Path.exists() is true, allowing a dangling symlink to…

    CVE-2026-113721 Debian Updated 21 November 2026
  • GHSA-558c-9hv2-4prj

    virtualenv: Generated files can follow existing destination links

    Moderate CVE-2026-113721 PyPI Updated 18 November 2026
  • PYSEC-2026-4380

    virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, ViaTemplateActivator._generate() removes an existing output only when Path.exists() is true, allowing a dangling symlink to…

    CVE-2026-113721 PyPI Updated 18 November 2026
  • SUSEVEX-CVE-2026-113721

    virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, ViaTemplateActivator._generate() removes an existing output only when Path.exists() is true, allowing a dangling symlink to…

    Moderate CVE-2026-113721 SUSEopenSUSE Updated 10 November 2026
  • UBUNTU-CVE-2026-113721

    virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, ViaTemplateActivator._generate() removes an existing output only when Path.exists() is true, allowing a dangling symlink to…

    CVE-2026-113721 Ubuntu Updated 24 November 2026

References