{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-112943","id":"CVE-2026-112943","title":"launch-editor code execution via Windows environment variable expansion","description":"launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor did not escape % on Windows when passing an argument to cmd. When an environment variable contained a malicious value, it was possible that that content to be executed. This vulnerability is fixed in 2.14.2.","descriptionLong":"launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor did not escape % on Windows when passing an argument to cmd. When an environment variable contained a malicious value, it was possible that that content to be executed. This vulnerability is fixed in 2.14.2.","published":"2026-10-20T14:53:41.777Z","updated":"2026-10-28T02:30:50.996973357Z","reserved":"2026-10-19T21:30:47.245Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/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","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["vitejs launch-editor","vitejs vite","vitejs vite-plus"],"affectedProducts":[{"vendor":"vitejs","product":"launch-editor","defaultStatus":null,"versions":[{"version":"< 2.14.2","status":"affected"}],"platforms":[]},{"vendor":"vitejs","product":"vite","defaultStatus":null,"versions":[{"version":">= 8.3.0, < 8.3.3","status":"affected"},{"version":">= 8.2.0, < 8.2.4","status":"affected"},{"version":">= 8.0.0, < 8.1.6","status":"affected"},{"version":">= 7.0.0, < 7.3.7","status":"affected"},{"version":"< 6.4.4","status":"affected"}],"platforms":[]},{"vendor":"vitejs","product":"vite-plus","defaultStatus":null,"versions":[{"version":"< 1.1.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"launch-editor","purl":"pkg:npm/launch-editor","ranges":["<2.14.2"],"fixed":["2.14.2"],"advisory":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[">=8.3.0 <8.3.3",">=8.2.0 <8.2.4",">=8.0.0 <8.1.6",">=7.0.0 <7.3.7","<6.4.4"],"fixed":["8.3.3","8.2.4","8.1.6","7.3.7","6.4.4"],"advisory":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","name":"vite-plus","purl":"pkg:npm/vite-plus","ranges":["<1.1.0"],"fixed":["1.1.0"],"advisory":"GHSA-698v-4r3x-3vcv"}],"cwes":["CWE-78"],"aliases":["GHSA-698v-4r3x-3vcv"],"references":[{"url":"https://github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/vitejs/launch-editor/pull/155","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/vitejs/launch-editor/releases/tag/v2.14.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112943.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112943","tags":["advisory"]},{"url":"https://github.com/vitejs/launch-editor","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00414,"epssPercentile":0.3661,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-112943","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112943","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-112943","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-698v-4r3x-3vcv","ok":true,"note":"GHSA-698v-4r3x-3vcv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-112943","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}