ADVISORIES

Vulnerability

CVE-2026-102925

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.13, the generated activate (bash and zsh) and activate.fish scripts place values already escaped by shlex.quote inside an additional quoted context. In the bash and zsh script, a crafted virtual environment path reaches __VIRTUAL_ENV__ when a relocated environment's recorded directory is absent; in the fish script, crafted Tcl or Tk library paths reach __TCL_LIBRARY__ or __TK_LIBRARY__. The surplus quotes can terminate the data-only quoted run and leave shell metacharacters parsed as commands when a user sources the activation script, allowing code execution with that user's privileges. This issue is fixed in version 21.7.13.

14 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • AZL-105675

    CVE-2026-102925 affecting package python-virtualenv for versions less than 20.36.1-9

    CVE-2026-102925 Azure Linux Updated 24 November 2026
  • CGA-357c-p3cf-7hf5
    CVE-2026-102925 Chainguard Updated 5 November 2026
  • CGA-3mx9-g4h9-725q
    CVE-2026-102925 Chainguard Updated 5 November 2026
  • CGA-833q-qf54-756f
    CVE-2026-102925 ChainguardWolfi Updated 5 November 2026
  • CGA-hgp4-vjx4-6q3p
    CVE-2026-102925 Chainguard Updated 5 November 2026
  • CGA-r5xg-qgrg-56vq
    CVE-2026-102925 Chainguard Updated 5 November 2026
  • CGA-wm24-rj2x-8526
    CVE-2026-102925 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2026-102925

    virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.13, the generated activate (bash and zsh) and activate.fish scripts place values already escaped by shlex.quote inside an additional…

    CVE-2026-102925 Debian Updated 21 November 2026
  • GHSA-p58f-9548-mpm2

    virtualenv bash and fish activation scripts execute commands embedded in paths

    High CVE-2026-102925 PyPI Updated 6 October 2026
  • PYSEC-2026-4013

    virtualenv bash and fish activation scripts execute commands embedded in paths

    CVE-2026-102925 PyPI Updated 6 October 2026
  • RHSA-2026:100715

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update

    CVE-2026-102278CVE-2026-102925CVE-2026-102930CVE-2026-102937 Red Hat Updated 24 November 2026
  • RHSA-2026:100716

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.7 Product Security and Bug Fix Update

    CVE-2026-102925CVE-2026-102930CVE-2026-102937CVE-2026-113726 Red Hat Updated 24 November 2026
  • UBUNTU-CVE-2026-102925

    virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.13, the generated activate (bash and zsh) and activate.fish scripts place values already escaped by shlex.quote inside an additional…

    CVE-2026-102925 Ubuntu Updated 24 November 2026
  • openSUSE-SU-2026:11974-1

    python313-virtualenv-21.14.2-1.1 on GA media

    CVE-2024-9287CVE-2026-102925CVE-2026-102930CVE-2026-102938 openSUSE Updated 3 October 2026

References