{"id":"CVE-2026-112943","state":"PUBLISHED","title":"launch-editor: escapeCmdArgs() omits % escaping on Windows","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.","publishedAt":"2026-10-20T14:53:41.777Z","updatedAt":"2026-10-20T15:13:40.862Z","severity":{"score":6.3,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["vitejs launch-editor","vitejs vite","vitejs vite-plus"],"affected":[{"vendor":"vitejs","product":"launch-editor","versions":[{"version":"< 2.14.2","status":"affected"}]},{"vendor":"vitejs","product":"vite","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"}]},{"vendor":"vitejs","product":"vite-plus","versions":[{"version":"< 1.1.0","status":"affected"}]}],"references":["https://github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv","https://github.com/vitejs/launch-editor/pull/155","https://github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc","https://github.com/vitejs/launch-editor/releases/tag/v2.14.2"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/112xxx/CVE-2026-112943.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-112943","state":"PUBLISHED","datePublished":"2026-10-20T14:53:41.777Z","dateUpdated":"2026-10-20T15:13:40.862Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-19T21:30:47.245Z"},"containers":{"cna":{"title":"launch-editor: escapeCmdArgs() omits % escaping on Windows","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"vitejs","product":"launch-editor","versions":[{"version":"< 2.14.2","status":"affected"}]},{"vendor":"vitejs","product":"vite","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"}]},{"vendor":"vitejs","product":"vite-plus","versions":[{"version":"< 1.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv","name":"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","name":"https://github.com/vitejs/launch-editor/pull/155","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc","name":"https://github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitejs/launch-editor/releases/tag/v2.14.2","name":"https://github.com/vitejs/launch-editor/releases/tag/v2.14.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-20T14:53:41.777Z"},"source":{"advisory":"GHSA-698v-4r3x-3vcv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-20T15:13:29.374778Z","id":"CVE-2026-112943","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-20T15:13:40.862Z"}}]}}}