CVE-2026-112943
published medium CVSS 4.0 · 6.3launch-editor: escapeCmdArgs() omits % escaping on Windows
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vitejs | — | launch-editor< 2.14.2 | Affected | Not stated | GitHub_M |
| vitejs | — | vite>= 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 | Affected | Not stated | GitHub_M |
| vitejs | — | vite-plus< 1.1.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vitejs | launch-editor | < 2.14.2 (affected) | GitHub_M · cna |
| vitejs | vite | >= 8.3.0, < 8.3.3 (affected)>= 8.2.0, < 8.2.4 (affected)>= 8.0.0, < 8.1.6 (affected)>= 7.0.0, < 7.3.7 (affected)< 6.4.4 (affected) | GitHub_M · cna |
| vitejs | vite-plus | < 1.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4Provider assertions
2GitHub_M · cna
launch-editor: escapeCmdArgs() omits % escaping on Windows
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b959f6ad4942d57d3d5029555817c729e2934e4d02cb19d275b8c9216f44874e
- Ingested
- 20 Oct 2026, 15:25:16 UTC
- Source record
- Official CVE record