{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-112942","id":"CVE-2026-112942","title":"launch-editor path check bypass in Windows file arguments","description":"launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor-middleware processes an attacker-controlled Windows file argument where the file argument ends in a parent-directory component plus a line-and-column suffix: the path is resolved while the suffix is still present, and launch-editor removes the suffix before its existsSync check, leavin","descriptionLong":"launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor-middleware processes an attacker-controlled Windows file argument where the file argument ends in a parent-directory component plus a line-and-column suffix: the path is resolved while the suffix is still present, and launch-editor removes the suffix before its existsSync check, leaving the existing parent directory for existsSync and allowing the attacker-controlled file argument to pass filename existence validation without requiring the malicious filename to exist. The bypass can lead to OS command injection when combined with the separately described Windows percent-expansion flaw. This issue is fixed in version 2.14.2.","published":"2026-10-20T14:48:06.676Z","updated":"2026-10-28T02:30:47.800768748Z","reserved":"2026-10-19T21:30:47.245Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":7.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":7.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub_M"},{"version":"4.0","score":7.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/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:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"}],"rating":"high","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-587h-7wmj-h5pm"},{"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-587h-7wmj-h5pm"},{"ecosystem":"npm","name":"vite-plus","purl":"pkg:npm/vite-plus","ranges":["<1.1.0"],"fixed":["1.1.0"],"advisory":"GHSA-587h-7wmj-h5pm"}],"cwes":["CWE-77"],"aliases":["GHSA-587h-7wmj-h5pm"],"references":[{"url":"https://github.com/vitejs/launch-editor/security/advisories/GHSA-587h-7wmj-h5pm","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/vitejs/launch-editor/commit/f13cd835d4b8e860b1d4d080ad8a490cc2463679","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-112942.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112942","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":"total"},"epss":0.01694,"epssPercentile":0.77635,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-112942","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112942","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-112942","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-587h-7wmj-h5pm","ok":true,"note":"GHSA-587h-7wmj-h5pm"},{"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-112942","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}