A AegiFlow
HIGHCVSS 7.3EPSS 0.1%

CVE-2026-102937

CVE-2026-102937 updated by NVD

Published
2026-10-01
Modified
2026-10-04
EPSS percentile
3%
Sources
github-advisory, nvd

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIvirtualenv—21.7.12

Remediation: Upgrade to 21.7.12 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.