{"vuln_id":"CVE-2026-102937","aliases":["GHSA-x78j-v8h9-3j2q"],"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_at":"2026-09-29T21:17:18.893000Z","modified_at":"2026-11-19T19:28:37.540000Z","first_seen_at":"2026-11-21T19:15:46.927072Z","severity":"high","severity_source":"nvd","cvss_score":7.3,"cvss_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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-78"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00209,"epss_percentile":0.11087,"nvd_status":"Analyzed","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-102937"},"matched_alias":null,"items":[{"id":3668,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-102937: virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.12, BatchActivator.quote() returns prompt text unchanged before activate.…","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.\n\nReferences:\nhttps://github.com/pypa/virtualenv/commit/d721ff140ce4afdc2a9b76751e4584e25d9fbea6\nhttps://github.com/pypa/virtualenv/pull/3250\nhttps://github.com/pypa/virtualenv/releases/tag/21.7.12\nhttps://github.com/pypa/virtualenv/security/advisories/GHSA-x78j-v8h9-3j2q","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102937","published_at":"2026-09-29T21:17:18.893000Z","updated_at":"2026-11-19T19:28:37.540000Z","fetched_at":"2026-11-21T19:15:31.479209Z","severity":"high","cvss_score":7.3,"epss":0.00209,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"microsoft","product":null,"vuln_id":"CVE-2026-102937","vuln_ids":["CVE-2026-102937","GHSA-X78J-V8H9-3J2Q"],"tags":["CWE-78"],"cluster_id":3973,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3668","html":"https://vulnwatch.ve1ve2.com/item/3668"}}]}