OS Command Injection Affecting python-virtualenv package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.14% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-PYTHONVIRTUALENV-20463226
  • published4 Oct 2026
  • disclosed29 Sept 2026

Introduced: 29 Sep 2026

NewCVE-2026-102937  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 python-virtualenv.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-virtualenv package and not the python-virtualenv package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1