{"answers":{"affected":"4 open source packages ship an affected version, including launch-editor and vite.","exploited":"There is no known exploitation of CVE-2024-52011 in the wild and no public exploit code.","fix":"Upgrade launch-editor to 2.9.0 or later.","what":"CVE-2024-52011 is a high-severity vulnerability in vitejs launch-editor, published on 1 Jun 2026."},"fix_prompt":"Check this codebase for CVE-2024-52011 and fix it if it is affected.\n\nWhat it is: CVE-2024-52011 is a high-severity vulnerability in vitejs launch-editor, published on 1 Jun 2026. \nExploitation: There is no known exploitation of CVE-2024-52011 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- launch-editor (npm): affected all versions; fixed in 2.9.0\n- launch-editor (npm): affected all versions; fixed in 2.9.0\n- vite (npm): affected all versions; fixed in 5.4.9\n- vite (npm): affected all versions; fixed in 5.4.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-52011/ (Markdown: https://insights.sbomify.com/CVE-2024-52011/index.md)","id":"CVE-2024-52011","markdown":"https://insights.sbomify.com/CVE-2024-52011/index.md","name":"CVE-2024-52011","record":{"aliases":["CLEANSTART-2026-BL91899","CLEANSTART-2026-XZ43182","CLSA-2026-1789376303","CLSA-2026-1792225955","GHSA-c27g-q93r-2cwf","MINI-h95m-c6j6-7m2w","ROOT-APP-NPM-CVE-2024-52011"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-06-09","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-09T03:33:21Z","kind":"github_poc","ref":"https://github.com/HORKimhab/CVE-2024-52011","stars":0,"title":"CVE-2024-52011 - Draft"}],"tier":"poc_unverified"},"has_fix":true,"headline":"launch-editor vulnerable to command injection via the crafted request on Windows","id":"CVE-2024-52011","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2024"},"n_packages":4,"n_references":2,"next":{"headline":"Apache Solr: Configset upload on Windows allows arbitrary path write-access","id":"CVE-2024-52012"},"packages":[{"ecosystem":"npm","fixed":["2.9.0"],"introduced":["0"],"last_affected":[],"package":"launch-editor","purl":null,"source":"GHSA-c27g-q93r-2cwf"},{"ecosystem":"npm","fixed":["2.9.0"],"introduced":["0"],"last_affected":[],"package":"launch-editor","purl":"pkg:npm/launch-editor","source":"GHSA-c27g-q93r-2cwf"},{"ecosystem":"npm","fixed":["5.4.9"],"introduced":["0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-c27g-q93r-2cwf"},{"ecosystem":"npm","fixed":["5.4.9"],"introduced":["0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-c27g-q93r-2cwf"}],"prev":{"headline":"Zoraxy has an authenticated command injection in the Web SSH feature","id":"CVE-2024-52010"},"products":["launch-editor","vite"],"published":"2026-06-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-04","vendors":["vitejs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-52011/"}