Bug 2483853 (CVE-2024-52011)

Summary: CVE-2024-52011 launch-editor: vite: launch-editor: Arbitrary command execution via insufficient file argument sanitization
Product: [Other] Security Response Reporter: Jon Moroney <jmoroney>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aazores, abarbaro, abrianik, alizardo, anpicker, anujha, aschwart, asoldano, aszczucz, ataylor, bbaranow, bbrownin, bdettelb, bmaxwell, boliveir, bparees, brasmith, bstansbe, cdrage, cmah, cochase, dbruscin, dlofthou, doconnor, dranck, drichtar, dschmidt, dymurray, eaguilar, ebaron, ehugonne, erezende, fdeutsch, ggrzybek, hasun, ibolton, istudens, ivassile, iweiss, jchui, jfula, jhe, jkoehler, jlanda, jmatthew, jmontleo, jolong, jowilson, jraez, jwong, kaycoth, kshier, ktsao, kvanderr, lphiri, mosmerov, mposolda, msvehla, nboldt, nwallace, nyancey, oaljalju, omaciel, ometelka, oramraz, parichar, pberan, pesilva, pgaikwad, pjindal, pmackay, psrna, ptisnovs, rjohnson, rmartinc, rstancel, rushinde, sdawley, simaishi, slucidi, smaestri, smcdonal, smullick, sseago, ssilvert, stcannon, sthorger, stirabos, syedriko, tasato, teagle, thason, thjenkin, ttakamiy, vdosoudi, vmuzikar, xdharmai, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in launch-editor, a tool that allows users to open files with line numbers in an editor from Node.js. Due to insufficient sanitization of the `file` argument in the `launchEditor` function, an attacker can execute arbitrary commands on Windows systems by supplying a filename that contains special characters. This can lead to a complete compromise of the affected system.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jon Moroney 2026-06-01 22:20:22 UTC
launch-editor allows users to open files with line numbers in editor from Node.js. Prior to version 2.9.0, due to the insufficient sanitization of the `file` argument in the `launchEditor`, an attacker can execute arbitrary commands on Windows by supplying a filename that contains special characters. This issue has been fixed in the `launch-editor` version 2.9.0, corresponding to vite version 5.4.9.