{"id":"CVE-2026-102937","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-102937","generatedAt":"2026-10-28T01:01:14.191Z","title":"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.","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.","published":"2026-09-29T21:17:19.000Z","lastModified":"2026-10-02T13:17:35.000Z","status":"Awaiting Analysis","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"4.0","score":7.3,"severity":"HIGH","vector":"CVSS:4.0/AV: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/M"},"cwe":["CWE-78"],"affected":[],"epss":{"score":0.00143,"percentile":0.03605,"date":"2026-10-26","history":[{"date":"2026-09-30","score":0.0014,"percentile":0.0279}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.14%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-09-29T21:17:19.000Z","detail":{"score":"7.3","severity":"HIGH","publishedAt":"2026-09-29T21:17:18.893Z"},"summary":"New CVE, high severity (CVSS 7.3)."}],"references":[{"url":"https://github.com/pypa/virtualenv/commit/d721ff140ce4afdc2a9b76751e4584e25d9fbea6","source":"security-advisories@github.com"},{"url":"https://github.com/pypa/virtualenv/pull/3250","source":"security-advisories@github.com"},{"url":"https://github.com/pypa/virtualenv/releases/tag/21.7.12","source":"security-advisories@github.com"},{"url":"https://github.com/pypa/virtualenv/security/advisories/GHSA-x78j-v8h9-3j2q","source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-102937","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}