Arbitrary Argument Injection Affecting org.webjars.npm:vite package, versions [,6.4.4)[7.0.0,7.3.7)[8.0.0,8.1.6)[8.2.0,8.2.4)[8.3.0,8.3.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.71% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-21282014
  • published24 Oct 2026
  • disclosed20 Oct 2026
  • credit0xazanul

Introduced: 20 Oct 2026

NewCVE-2026-112944  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:vite to version 6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3 or higher.

Overview

org.webjars.npm:vite is a Native-ESM powered web dev build tool

Affected versions of this package are vulnerable to Arbitrary Argument Injection via the getArgumentsForFile function in packages/launch-editor/get-args.js, where a filename is passed directly to an editor process without being resolved to an absolute path first. An attacker who can control the filename argument can supply a value beginning with a hyphen or flag-like prefix, causing it to be interpreted as a command-line flag by the spawned editor process rather than as a file path.

Note: This is only exploitable on WSL (Windows Subsystem for Linux) environments where Vite 2.0.0+ is used with launch-editor-middleware v2.2.0+, and the impact on Notepad++ is limited to configurations using a plugin that exposes dangerous operations via plugin messages.

CVSS Base Scores

version 4.0
version 3.1