CVE-2026-102937High· 7.3▾ Twilightvirtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.12, BatchActivator.quote() returns prompt text unchanged before activate.bat inserts it into a cmd.exe set "VAR=value" statement. An attacker who influ…
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 40.2 · 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. The CVSS score shown above comes from the assigning CNA record, not NVD.
Exploit-prediction probability, daily snapshots since Sep 30.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via NVD
0.1%
Last analysed / modified upstream
0.1% → 0.2%
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.12, BatchActivator.quote() returns prompt text unchanged before activate.bat inserts it into a cmd.exe set "VAR=value" statement. An attacker who influences --prompt, VIRTUALENV_PROMPT, or the corresponding configuration value can include a double quote that closes the assignment and leaves following cmd.exe operators as executable syntax. When a user activates the generated Windows environment, the injected commands run with that user's privileges. This issue is fixed in version 21.7.12.
Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
Affected packages:
virtualenv < 21.7.12Patched in:
virtualenv 21.7.12Source: https://osv.dev/vulnerability/PYSEC-2026-4014
Connected by shared product, vendor, weakness, or advisory.
CVE-2026-102925High· 7.8virtualenv is a tool for creating isolated virtual python environments
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-113776High· 7.8virtualenv activation scripts run code from a path that contains a placeholder name
CVE-2026-113732High· 7.8virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote
CVE-2026-113726High· 7.8virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST