7.3

CVE-2026-102937: pypa virtualenv OS Command Injection

CVSS: 7.3v4.0HighAwaiting analysis
AliasesGHSA-x78j-v8h9-3j2qBIT-virtualenv-2026-102937PYSEC-2026-4014
Published 29-09-2026Last modified 02-10-2026

Vulnerability summary

CVE-2026-102937 is a high (CVSS 7.3) OS Command Injection vulnerability in pypa virtualenv. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3% of scored vulnerabilities.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.3/10
010
High · v4.0 (CVE.org)
EPSS score
0.14%
0%100%
Low · Change unavailable
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 29-09-2026
    PublishedVulnerability first disclosed.
  2. 02-10-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.14%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

30-09-202619-10-2026
EPSS score
0.14%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard3 products
  • mlflow-fips-iamguarded-compat< 3.16.1-r1
  • py3-cassandra-medusa< 0.30.1-r3
  • request-1276< 0.30.1-r3
Debian1 product
  • python-virtualenvAll versions (No fix recorded)
Pypa1 product
PyPI1 product
  • virtualenv< 21.7.12
Ubuntu1 product
  • python-virtualenvAll versions (No fix recorded)
Wolfi1 product
  • py3-cassandra-medusa< 0.30.1-r3

6 vendors · 8 products

References

12 links
Show all 12 references