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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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
- Awaiting Analysis
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-10292A vulnerability was detected in UTT HiPER 1200GW up to 2.5.3…8.8
- CVE-2026-102923SparkyFitness is a self-hosted, AI-powered health and fitnes…5.4
- CVE-2026-102925virtualenv is a tool for creating isolated virtual python en…7.8
- CVE-2026-102927HedgeDoc is an open source, real-time collaborative markdown…5.9
- 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-102940OpenEMR is a free and open source electronic health records …9.6
- CVE-2026-102941The package github.com/gomarkdown/markdown is a Go library f…7.5
- CVE-2026-102943Dagu is a workflow engine with a built-in Web user interface…6.5
- CVE-2026-102944cpp-httplib is a C++ header-only HTTP/HTTPS library. Prior t…7.5
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
