{"id":"CVE-2026-112943","published":"2026-10-20T14:53:41Z","modified":"2026-10-20T15:13:40Z","title":"launch-editor: escapeCmdArgs() omits % escaping on Windows","vendor":"vitejs","product":"launch-editor","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00543,"percentile":0.39177,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vitejs/launch-editor/pull/155","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitejs/launch-editor/releases/tag/v2.14.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":7.84},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"vitejs","affectedVersions":[{"vendor":"vitejs","product":"launch-editor","versions":["< 2.14.2"]},{"vendor":"vitejs","product":"vite","versions":[">= 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"]},{"vendor":"vitejs","product":"vite-plus","versions":["< 1.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T15:13:29.374778Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"launch-editor","vulnerableRanges":["<2.14.2"],"patched":["2.14.2"],"from":["GHSA-698v-4r3x-3vcv"],"provenance":"source"},{"ecosystem":"npm","package":"vite","vulnerableRanges":[">=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"],"patched":["8.3.3","8.2.4","8.1.6","7.3.7","6.4.4"],"from":["GHSA-698v-4r3x-3vcv"],"provenance":"source"},{"ecosystem":"npm","package":"vite-plus","vulnerableRanges":["<1.1.0"],"patched":["1.1.0"],"from":["GHSA-698v-4r3x-3vcv"],"provenance":"source"}],"summary":{"text":"The launch-editor component of the vitejs launch-editor product fails to escape % characters when building arguments passed to cmd on Windows, which allows environment variable content to be interpreted and executed as commands. An attacker who can supply a malicious environment variable value can cause arbitrary command execution, with no authentication or user interaction required, though the attack depends on a malicious value reaching a launch-editor argument.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:41Z"},"euvd":{"id":"EUVD-2026-105039","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vitejs-launch-editor-cve-2024-52011","parents":[{"from":"CVE-2024-52011","to":"CVE-2026-112943","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/launch-editor/index.js"],"commits":["https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e","https://github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc"],"basis":"shared function","functions":["launchEditor"]}]},{"from":"CVE-2026-112942","to":"CVE-2026-112943","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/launch-editor/index.js"],"commits":["https://github.com/vitejs/launch-editor/commit/f13cd835d4b8e860b1d4d080ad8a490cc2463679","https://github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc"],"basis":"shared function","functions":["launchEditor"]}]}],"packageHistory":[{"cve":"CVE-2024-52011","published":"2026-06-01","fixed":"2.9.0","kev":false},{"cve":"CVE-2026-53632","published":"2026-06-22","fixed":"2.14.1","kev":false,"link":{"from":"CVE-2026-53632","to":"CVE-2026-112943","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:launch-editor","fromFixed":"2.14.1","toFixed":"2.14.2","daysApart":120}]}},{"cve":"CVE-2026-112942","published":"2026-10-20","fixed":"2.14.2","kev":false},{"cve":"CVE-2026-112943","published":"2026-10-20","fixed":"2.14.2","kev":false},{"cve":"CVE-2026-112944","published":"2026-10-20","fixed":"2.14.2","kev":false}],"package":"npm:launch-editor"}}