{"answers":{"affected":"14 open source packages ship an affected version, including launch-editor, vite and vite-plus.","exploited":"There is no known exploitation of CVE-2026-112943 in the wild and no public exploit code.","fix":"Upgrade launch-editor to 2.14.2 or later.","what":"CVE-2026-112943 is a medium-severity vulnerability in vitejs launch-editor, published on 20 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-112943 and fix it if it is affected.\n\nWhat it is: CVE-2026-112943 is a medium-severity vulnerability in vitejs launch-editor, published on 20 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-112943 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- launch-editor (npm): affected all versions; fixed in 2.14.2\n- launch-editor (npm): affected all versions; fixed in 2.14.2\n- vite (npm): affected all versions; fixed in 6.4.4\n- vite (npm): affected all versions; fixed in 6.4.4\n- vite (npm): affected from 7.0.0; fixed in 7.3.7\n- vite (npm): affected from 7.0.0; fixed in 7.3.7\n- vite (npm): affected from 8.0.0; fixed in 8.1.6\n- vite (npm): affected from 8.0.0; fixed in 8.1.6\n- vite (npm): affected from 8.2.0; fixed in 8.2.4\n- vite (npm): affected from 8.2.0; fixed in 8.2.4\n- vite (npm): affected from 8.3.0; fixed in 8.3.3\n- vite (npm): affected from 8.3.0; fixed in 8.3.3\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-2026-112943/ (Markdown: https://insights.sbomify.com/CVE-2026-112943/index.md)","id":"CVE-2026-112943","markdown":"https://insights.sbomify.com/CVE-2026-112943/index.md","name":"CVE-2026-112943","record":{"aliases":["ECHO-8ca6-d129-3198","GHSA-698v-4r3x-3vcv","MINI-632q-2mp5-q2v2","MINI-gch3-9hgf-j362","MINI-px3r-qj32-3857","MINI-qcg3-fx66-xm2j","MINI-r398-jjqv-343x","MINI-r7h5-m53q-vvgw"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"launch-editor: escapeCmdArgs() omits % escaping on Windows","id":"CVE-2026-112943","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":14,"n_references":4,"next":{"headline":"launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors","id":"CVE-2026-112944"},"packages":[{"ecosystem":"npm","fixed":["2.14.2"],"introduced":["0"],"last_affected":[],"package":"launch-editor","purl":null,"source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["2.14.2"],"introduced":["0"],"last_affected":[],"package":"launch-editor","purl":"pkg:npm/launch-editor","source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["6.4.4"],"introduced":["0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["6.4.4"],"introduced":["0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["7.3.7"],"introduced":["7.0.0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["7.3.7"],"introduced":["7.0.0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["8.1.6"],"introduced":["8.0.0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["8.1.6"],"introduced":["8.0.0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["8.2.4"],"introduced":["8.2.0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["8.2.4"],"introduced":["8.2.0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["8.3.3"],"introduced":["8.3.0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["8.3.3"],"introduced":["8.3.0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"vite-plus","purl":null,"source":"GHSA-698v-4r3x-3vcv"},{"ecosystem":"npm","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"vite-plus","purl":"pkg:npm/vite-plus","source":"GHSA-698v-4r3x-3vcv"}],"prev":{"headline":"launch-editor: `fs.existsSync()` existence check can be bypassed on Windows","id":"CVE-2026-112942"},"products":["launch-editor","vite","vite-plus"],"published":"2026-10-20","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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-20","vendors":["vitejs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-112943/"}