CVE-2026-102937
Last modified
CVE-2026-102937 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pypa | virtualenv | < 21.7.12 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-102937?
How severe is CVE-2026-102937?
How do I fix CVE-2026-102937?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-102904JupyterLab is an extensible environment for interactive and …5.4
- CVE-2026-10291A security vulnerability has been detected in Enderfga claw-…5.3
- CVE-2026-10292A vulnerability was detected in UTT HiPER 1200GW up to 2.5.3…8.8
- CVE-2026-102925virtualenv is a tool for creating isolated virtual python en…7.8
- CVE-2026-10293A flaw has been found in UTT HiPER 1200GW up to 2.5.3-170306…8.8
- CVE-2026-102930virtualenv is a tool for creating isolated virtual python en…7.7
- CVE-2026-102938virtualenv is a tool for creating isolated virtual python en…5.8
- CVE-2026-10294A vulnerability has been found in PackageKit up to 1.3.5. Af…4.3
- CVE-2026-10295A vulnerability was found in SourceCodester Customer Review …3.3
- CVE-2026-10296A vulnerability was determined in itsourcecode Fees Manageme…6.3
- CVE-2026-10297A vulnerability was identified in itsourcecode Fees Manageme…6.3
- CVE-2026-10298A security flaw has been discovered in ggml-org whisper.cpp …3.3
Are you affected by CVE-2026-102937?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
