cve.bz

CVE-2026-112944 vitejs: Argument Injection

6.3 mediumEPSS 0.7%Fix available

Medium (6.3) in vitejs. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in launch-editor 2.14.2.

On this page
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.

Severity

CVSS 4.0

6.3 medium
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
EPSS
0.7% (unchanged from 0.7% a week ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-88 Improper Neutralization of Argument Delimiters in a Command (Argument Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • launch-editor (npm): fixed in 2.14.2
  • vite (npm): fixed in 8.3.3, 8.2.4, 8.1.6, 7.3.7, 6.4.4
  • vite-plus (npm): fixed in 1.1.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-112944 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-112944?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-112944?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-112944 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
vitejs launch-editor< 2.14.2
vitejs vite>= 8.3.0, < 8.3.3
vitejs vite>= 8.2.0, < 8.2.4
vitejs vite>= 8.0.0, < 8.1.6
vitejs vite>= 7.0.0, < 7.3.7
vitejs vite< 6.4.4
vitejs vite-plus< 1.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r825-w8mm-5pxwnpmlaunch-editor<2.14.22.14.2
GHSA-r825-w8mm-5pxwnpmvite>=8.3.0 <8.3.38.3.3
GHSA-r825-w8mm-5pxwnpmvite>=8.2.0 <8.2.48.2.4
GHSA-r825-w8mm-5pxwnpmvite>=8.0.0 <8.1.68.1.6
GHSA-r825-w8mm-5pxwnpmvite>=7.0.0 <7.3.77.3.7
GHSA-r825-w8mm-5pxwnpmvite<6.4.46.4.4
GHSA-r825-w8mm-5pxwnpmvite-plus<1.1.01.1.0

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is evaluated as having a Moderate security impact for Red Hat products because triggering the issue requires local filesystem write access and specific user interaction to open malicious filenames. In standard Red Hat enterprise environments, launch-editor is primarily used during development or debugging workflows rather than running as an exposed, persistent background service. Successful exploitation is further constrained by requiring an affected editor such as Vim or Emacs to be selected when handling untrusted directory entries.

ProductPackageStateAdvisory
Red Hat Hardened Imagesgrafana13.1Not affected
Red Hat Hardened Imagesgrafana13.2Not affected
Red Hat Hardened Imagesprometheus3.13Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-112944.

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-137 Parameter Injection Likelihood: Medium · Severity: Medium
  • CAPEC-174 Flash Parameter Injection Likelihood: High · Severity: Medium
  • CAPEC-460 HTTP Parameter Pollution (HPP) Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON