PT-2026-102925
CVE-2026-102937
·
Published
2026-09-18
·
Updated
2026-10-16
Description by
CVSS 4.0
7.3
HighMetricsAV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions
virtualenv versions prior to 21.7.12
Description
The
BatchActivator.quote() function fails to properly sanitize prompt text before it is inserted into a cmd.exe set statement within the activate.bat file. An attacker capable of influencing the --prompt flag, the VIRTUALENV PROMPT variable, or the related configuration value can inject a double quote to terminate the variable assignment and execute arbitrary commands. These commands run with the privileges of the user who activates the generated Windows environment.Recommendations
Update virtualenv to version 21.7.12 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾