Skip to content

CVE-2026-112943 launch-editor: escapeCmdArgs() omits % escaping on Windows

MediumCVSS 6.3 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

7 packages: 3 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
azure linux grafana(Azure Linux 4.0) All versions No fix listed No fix yet
npm launch-editor(npm) < 2.14.2; <= 2.14.1 2.14.2 Fixed
npm vite(npm) < 6.4.4; <= 6.4.3; >= 7.0.0, < 7.3.7; >= 7.0.0, <= 7.3.6 +6 more 6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3 Fixed
npm vite-plus(npm) < 1.1.0; <= 1.0.0 1.1.0 Fixed
vitejs launch-editor = < 2.14.2 No fix listed Versions listed
vitejs vite = < 6.4.4; = >= 7.0.0, < 7.3.7; = >= 8.0.0, < 8.1.6; = >= 8.2.0, < 8.2.4 +1 more No fix listed Versions listed
vitejs vite-plus = < 1.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
vitejs launch-editor = < 2.14.2 No fix listed
vitejs vite = >= 8.3.0, < 8.3.3 No fix listed
vitejs vite = >= 8.2.0, < 8.2.4 No fix listed
vitejs vite = >= 8.0.0, < 8.1.6 No fix listed
vitejs vite = >= 7.0.0, < 7.3.7 No fix listed
vitejs vite = < 6.4.4 No fix listed
vitejs vite-plus = < 1.1.0 No fix listed
npm launch-editor(npm) <= 2.14.1 No fix listed
npm vite(npm) >= 8.3.0, <= 8.3.2 No fix listed
npm vite(npm) >= 8.2.0, <= 8.2.3 No fix listed
npm vite(npm) >= 8.0.0, <= 8.1.5 No fix listed
npm vite(npm) >= 7.0.0, <= 7.3.6 No fix listed
npm vite(npm) <= 6.4.3 No fix listed
npm vite-plus(npm) <= 1.0.0 No fix listed
npm launch-editor(npm) < 2.14.2 2.14.2
npm vite(npm) >= 8.3.0, < 8.3.3 8.3.3
npm vite(npm) >= 8.2.0, < 8.2.4 8.2.4
npm vite(npm) >= 8.0.0, < 8.1.6 8.1.6
npm vite(npm) >= 7.0.0, < 7.3.7 7.3.7
npm vite(npm) < 6.4.4 6.4.4
npm vite-plus(npm) < 1.1.0 1.1.0
azure linux grafana(Azure Linux:4.0) All versions No fix listed

References