OS Command Injection Affecting py3-supported-virtualenv package, versions <21.7.12-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-MINIMOSLATEST-PY3SUPPORTEDVIRTUALENV-20541731
  • published7 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?

Upgrade Minimos:latest py3-supported-virtualenv to version 21.7.12-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-supported-virtualenv package and not the py3-supported-virtualenv package as distributed by Minimos. See How to fix? for Minimos:latest 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