{"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-112944 in the wild and no public exploit code.","fix":"Upgrade launch-editor to 2.14.2 or later.","what":"CVE-2026-112944 is a medium-severity vulnerability in vitejs launch-editor, published on 20 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-112944 and fix it if it is affected.\n\nWhat it is: CVE-2026-112944 is a medium-severity vulnerability in vitejs launch-editor, published on 20 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-112944 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-112944/ (Markdown: https://insights.sbomify.com/CVE-2026-112944/index.md)","id":"CVE-2026-112944","markdown":"https://insights.sbomify.com/CVE-2026-112944/index.md","name":"CVE-2026-112944","record":{"aliases":["ECHO-d59c-c98f-21d4","GHSA-r825-w8mm-5pxw","MINI-36pq-v2w2-q96x","MINI-4v4q-w2rg-r3mq","MINI-5m26-256q-284c","MINI-6r8j-cqqj-xp8p","MINI-76h6-h4w8-7qgx","MINI-g43q-vfq2-jwg9"],"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-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"description":"launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, when an attacker can create a filesystem entry beginning with plus or minus in the working directory, an affected editor is selected, and the path can remain relative or is converted to a relative WSL path, launchEditor forwards the path without forcing it to be interpreted as a positional filename. Editor option parsing then treats the attacker-controlled filename as a command-line flag, which can cause unintended file overwrite or arbitrary command execution by the selected editor. The affected editors are Vim and gVim, MacVim, Emacs and Emacsclient, and Notepad++ when a plugin exposes dangerous operations; WSL path conversion keeps Vite and newer middleware callers exposed. This issue is fixed in version 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: Editor CLI flag misinterpretation causing arbitrary command execution for some editors","id":"CVE-2026-112944","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":14,"n_references":4,"next":{"headline":"Vite: Cross origin script execution through Vite custom middleware","id":"CVE-2026-112945"},"packages":[{"ecosystem":"npm","fixed":["2.14.2"],"introduced":["0"],"last_affected":[],"package":"launch-editor","purl":null,"source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["2.14.2"],"introduced":["0"],"last_affected":[],"package":"launch-editor","purl":"pkg:npm/launch-editor","source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["6.4.4"],"introduced":["0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["6.4.4"],"introduced":["0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["7.3.7"],"introduced":["7.0.0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["7.3.7"],"introduced":["7.0.0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["8.1.6"],"introduced":["8.0.0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["8.1.6"],"introduced":["8.0.0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["8.2.4"],"introduced":["8.2.0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["8.2.4"],"introduced":["8.2.0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["8.3.3"],"introduced":["8.3.0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["8.3.3"],"introduced":["8.3.0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"vite-plus","purl":null,"source":"GHSA-r825-w8mm-5pxw"},{"ecosystem":"npm","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"vite-plus","purl":"pkg:npm/vite-plus","source":"GHSA-r825-w8mm-5pxw"}],"prev":{"headline":"launch-editor: escapeCmdArgs() omits % escaping on Windows","id":"CVE-2026-112943"},"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-112944/"}