CVE-2026-102925High· 7.8▾ Twilightvirtualenv 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…
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 42.9 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Stakeholder-Specific Vulnerability Categorization from CISA's ADP record at CVE.org: whether exploitation is observed, whether an attack can be automated, and how much of the system is at stake.
Exploit-prediction probability, daily snapshots since Sep 30.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via NVD
Last analysed / modified upstream
0.2%
0.2% → 0.2%
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.
Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
Affected packages:
virtualenv < 21.7.13Patched in:
virtualenv 21.7.13Connected by shared product, vendor, weakness, or advisory.
CVE-2026-102937High· 7.3virtualenv is a tool for creating isolated virtual python environments
CVE-2026-113732High· 7.8virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote
CVE-2026-113776High· 7.8virtualenv activation scripts run code from a path that contains a placeholder name
CVE-2026-102938Medium· 5.8virtualenv is a tool for creating isolated virtual python environments
CVE-2026-102930High· 7.7virtualenv is a tool for creating isolated virtual python environments
CVE-2026-113726High· 7.8virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST