CVE-2026-112944: launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
launch-editor forwarded file paths directly to editors without sanitization. If a path resembles a CLI flag, editors like Vim may interpret it as a command, potentially causing unintended file overwrites or command execution.
References
- github.com/advisories/GHSA-r825-w8mm-5pxw
- github.com/vitejs/launch-editor/commit/f6e6701bb1f16f2dd242b321374f1b6cca6eb6d4
- github.com/vitejs/launch-editor/pull/156
- github.com/vitejs/launch-editor/releases/tag/v2.14.2
- github.com/vitejs/launch-editor/security/advisories/GHSA-r825-w8mm-5pxw
- nvd.nist.gov/vuln/detail/CVE-2026-112944
Code Behaviors & Features
Detect and mitigate CVE-2026-112944 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →