CVE-2026-112944: launch-editor Package Arbitrary Command Execution Vulnerability

launch-editor Updated 20 Oct 2026

Summary

20/10/2026
Yes i
Moderate
6.3

CVE-2026-112944: launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors. Affects launch-editor versions < 2.14.2. Fixed in 2.14.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The launch-editor package is a utility that facilitates the opening of files in various text editors directly from the command line. It is commonly used in development environments to streamline the editing process. However, due to its design, it can be vulnerable to command injection attacks when certain editors interpret file paths as command flags.

Vulnerability Detail

The vulnerability in the launch-editor package arises from the way it forwards file paths to text editors without proper sanitization. If a file path begins with a '+' or '-', editors like Vim may interpret these as command flags rather than file names. This can lead to arbitrary command execution, potentially allowing attackers to overwrite files or execute unintended commands. The vulnerability affects users who can create file system entries starting with these characters and use specific editors, particularly in environments like WSL.

How To Fix

Latest published version: 2.14.2 as of 23 Oct 2026

npm install launch-editor@2.14.2

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using file names that start with '+' or '-' when opening files with the launch-editor package. Additionally, consider switching to a different editor that does not interpret these characters as command flags.

Conclusion

The launch-editor package has a significant vulnerability that can lead to arbitrary command execution due to improper handling of file paths. Users are advised to update to the latest version to mitigate this risk. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.

See every vulnerability recorded for launch-editor →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.3, indicating a moderate severity level.

The affected editors include Vim (and its variants like gVim and MacVim), Emacs, and Notepad++ (when using certain plugins).

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

If you cannot update the package, avoid using file names that start with '+' or '-' as a temporary measure to mitigate the risk.

Yes, Vite versions 8.3.3 and later address this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for launch-editor.

How To Fix

Latest published version: 2.14.2 as of 23 Oct 2026

npm install launch-editor@2.14.2

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback