CVE-2026-112943: launch-editor Package Vulnerability Due to Improper % Escaping on Windows

launch-editor Updated 20 Oct 2026

Summary

20/10/2026
Yes i
Moderate
6.3

CVE-2026-112943: launch-editor: escapeCmdArgs() omits % escaping on Windows. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The launch-editor package is a Node.js utility that facilitates the opening of files in the user's preferred text editor. It is commonly used in various applications to enhance user experience by allowing easy file editing. However, this package has a vulnerability that affects Windows users, particularly when handling command-line arguments that include special characters like '%' and '&'.

Vulnerability Detail

The vulnerability arises from the launch-editor's failure to properly escape '%' characters when passing arguments to cmd.exe on Windows. This oversight can lead to the execution of arbitrary commands if an attacker can manipulate environment variables or place files with malicious names. Specifically, if an attacker can inject an environment variable with a harmful value or create a file with a malicious filename containing '&' or '%', they can exploit this vulnerability to execute unintended commands.

How To Fix

Minimum fixed version

2.14.2

This is the first release that contains the fix.

npm install launch-editor@2.14.2

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

Workaround

As a temporary workaround, avoid using filenames or environment variables that contain '%' or '&' characters until the package is updated. This can help mitigate the risk of exploitation until a proper fix is applied.

Conclusion

The launch-editor package has a significant vulnerability on Windows systems due to improper escaping of '%' characters. Users are advised to update to the latest patched versions to mitigate risks. Until then, applying the recommended workaround can help reduce exposure to potential attacks.

See every vulnerability recorded for launch-editor →

Share this vulnerability

FAQ

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

Only users on Windows systems who use the launch-editor package and have the conditions for exploitation met are affected.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

If immediate updates are not possible, implement the suggested workaround by avoiding the use of special characters in filenames and environment variables.

While the primary risk is the execution of arbitrary commands, it could potentially lead to data loss depending on the commands executed by an attacker.

Related vulnerabilities

Recent vulnerabilities recorded for launch-editor.

How To Fix

Minimum fixed version

2.14.2

This is the first release that contains the fix.

npm install launch-editor@2.14.2

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