p PatchFirst

PatchFirst · Latest vulnerabilities

virtualenv vulnerabilities · Page 2

Vulnerabilities published for virtualenv in the last 30 days: 21. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 24

  1. CVE-2026-102925

    High · CVSS 7.8EPSS 0.16%Fix available

    virtualenv bash and fish activation scripts execute commands embedded in paths

    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

    • Update to 21.7.13
    Published Updated
  2. CVE-2026-22702

    Medium · CVSS 4.5EPSS 0.1%Fix available

    virtualenv Has TOCTOU Vulnerabilities in Directory Creation

    virtualenv is a tool for creating isolated virtual python environments. Prior to version 20.36.1, TOCTOU (Time-of-Check-Time-of-Use) vulnerabilities in virtualenv allow local attackers to perform symlink-based attacks on directory creation operations. An attacker with local access can exploit a race condition between directory existence checks and creation to redirect virtualenv's app_data and lock file operations to attacker-controlled locations. This issue has been patched in version 20.36.1.

    • Update to 20.36.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →