{"schemaVersion":3,"id":"CVE-2026-112943","aliases":["GHSA-698v-4r3x-3vcv"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-20T14:53:41.777Z","modified":"2026-10-20T15:13:40.862Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.3,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":6.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"Npm","product":"launch-editor","name":"launch-editor","label":"launch-editor","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/launch-editor","purlType":"npm","versions":[{"text":"< 2.14.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.14.2","eol":null,"hubHref":null},{"vendor":"Npm","product":"vite","name":"vite","label":"vite","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vite","purlType":"npm","versions":[{"text":"≥ 8.3.0, < 8.3.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.2.0, < 8.2.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.1.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.3.7","noFixRecorded":false,"fixedIn":null},{"text":"< 6.4.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":null},{"vendor":"Npm","product":"vite-plus","name":"vite-plus","label":"vite-plus","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vite-plus","purlType":"npm","versions":[{"text":"< 1.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.0","eol":null,"hubHref":null},{"vendor":"vitejs","product":"launch-editor","name":"launch-editor","label":"launch-editor","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.14.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.14.2","eol":null,"hubHref":"/vendor/vitejs/launch-editor"},{"vendor":"vitejs","product":"vite","name":"vite","label":"vite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.3.0, < 8.3.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.2.0, < 8.2.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.1.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.3.7","noFixRecorded":false,"fixedIn":null},{"text":"< 6.4.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/vitejs/vite"},{"vendor":"vitejs","product":"vite-plus","name":"vite-plus","label":"vite-plus","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.0","eol":null,"hubHref":"/vendor/vitejs/vite-plus"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv","label":"github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/vitejs/launch-editor/pull/155","label":"github.com/vitejs/launch-editor/pull/155","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc","label":"github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/vitejs/launch-editor/releases/tag/v2.14.2","label":"github.com/vitejs/launch-editor/releases/tag/v2.14.2","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112943","label":"nvd.nist.gov/vuln/detail/CVE-2026-112943","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vitejs/launch-editor","label":"github.com/vitejs/launch-editor","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-20T14:53:41.777Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-20T15:13:40.862Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T07:03:24.312Z","stale":false,"partial":false}}