Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-c27g-q93r-2cwf

Опубликовано: 03 июн. 2026
Источник: github
Github: Прошло ревью
CVSS4: 7.5

Описание

launch-editor vulnerable to command injection via the crafted request on Windows

Summary

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.

Impact

If the following conditions are met, an attacker can execute arbitrary commands on the computer that is using the launch-editor:

  • An attacker can place a file with the malicious filename
  • An attacker can call the launchEditor method with the file argument controlled
  • The launch-editor package is running on Windows

For example, some development server using this package satisfy these conditions, as a malicious website might be able to force the downloading of a file and the path of that file is predictable.

Patch

This issue has been fixed in the launch-editor version 2.9.0 (commit).

Пакеты

Наименование

launch-editor

npm
Затронутые версииВерсия исправления

<= 2.8.2

2.9.0

Наименование

vite

npm
Затронутые версииВерсия исправления

<= 5.4.8

5.4.9

EPSS

Процентиль: 41%
0.00529
Низкий

7.5 High

CVSS4

Дефекты

CWE-77

Связанные уязвимости

CVSS3: 8.3
redhat
3 месяца назад

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.

CVSS3: 8.3
nvd
3 месяца назад

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.

EPSS

Процентиль: 41%
0.00529
Низкий

7.5 High

CVSS4

Дефекты

CWE-77