CVE-2024-52011
published high CVSS 4.0 · 7.5launch-editor vulnerable to command injection via the crafted request on Windows
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vitejs | — | launch-editor< 2.9.0 | Affected | Not stated | GitHub_M |
| vitejs | — | vite< 5.4.9 | Affected | Not stated | GitHub_M |
| Red Hat | — | cluster-observability-operator/logging-console-plugin-pf4-rhel9Cluster Observability Operator 1.5.0 · 1782839279 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | cluster-observability-operator/logging-console-plugin-pf5-rhel9Cluster Observability Operator 1.5.0 · 1782840539 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | cryostat-openshift-console-plugin-npmCryostat 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | launch-editorCryostat 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhmtc/openshift-migration-ui-rhel8Migration Toolkit for Containers | Unaffected | Not required | redhat-SADP |
| Red Hat | — | workload-availability/node-healthcheck-must-gather-rhel9Node HealthCheck Operator | Unaffected | Not required | redhat-SADP |
Show 52 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | workload-availability/node-healthcheck-operator-bundleNode HealthCheck Operator | Unaffected | Not required | redhat-SADP |
| Red Hat | — | workload-availability/node-healthcheck-rhel9-operatorNode HealthCheck Operator | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-console-plugin-419-rhel9OpenShift Lightspeed | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9OpenShift Lightspeed | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-console-plugin-rhel9OpenShift Lightspeed | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-console-plugin-pf5-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-console-plugin-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-console-plugin-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-hub-ui-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-hub-ui-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-service-mesh/kiali-ossmc-rhel8OpenShift Service Mesh 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-service-mesh/kiali-rhel8OpenShift Service Mesh 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-service-mesh/kiali-operator-bundleOpenShift Service Mesh 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-service-mesh/kiali-ossmc-rhel9OpenShift Service Mesh 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-service-mesh/kiali-rhel9OpenShift Service Mesh 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-service-mesh/kiali-rhel9-operatorOpenShift Service Mesh 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | launch-editorRed Hat AMQ Broker 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | viteRed Hat AMQ Broker 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/lightspeed-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/lightspeed-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/gateway-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/lightspeed-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-27/gateway-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-27/lightspeed-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | automation-controllerRed Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | automation-eda-controllerRed Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | automation-gatewayRed Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | automation-platform-uiRed Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | launch-editorRed Hat build of Apache Camel - HawtIO 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | viteRed Hat Build of Keycloak | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rh-podman-desktop.gitRed Hat Build of Podman Desktop | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhdesktop/rh-podman-desktop-ext-bootc-rhel10Red Hat Build of Podman Desktop - Tech Preview | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhdesktop/rh-podman-desktop-ext-openshift-local-rhel10Red Hat Build of Podman Desktop - Tech Preview | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhdesktop/rh-podman-desktop-ext-redhat-account-rhel10Red Hat Build of Podman Desktop - Tech Preview | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhdesktop/rh-podman-desktop-ext-rhel-rhel10Red Hat Build of Podman Desktop - Tech Preview | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhdesktop/rh-podman-desktop-ext-sandbox-rhel10Red Hat Build of Podman Desktop - Tech Preview | Unaffected | Not required | redhat-SADP |
| Red Hat | — | launch-editorRed Hat Data Grid 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhdh/rhdh-hub-rhel9Red Hat Developer Hub | Unaffected | Not required | redhat-SADP |
| Red Hat | — | discovery/discovery-ui-rhel9Red Hat Discovery 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhelai3/bootc-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhelai3/bootc-gaudi-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhelai3/bootc-rocm-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhelai3/disk-image-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | viteRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | viteRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-mlflow-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift4/ose-agent-installer-ui-rhel9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift4/ose-console-rhel9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | devspaces/openvsx-rhel9Red Hat OpenShift Dev Spaces | Unaffected | Not required | redhat-SADP |
| Red Hat | — | container-native-virtualization/kubevirt-console-plugin-rhel9Red Hat OpenShift Virtualization 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | quay/quay-rhel8Red Hat Quay 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform/automation-portalSelf-service automation portal 2 | Unaffected | Not required | redhat-SADP |
Description
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.
A flaw was found in launch-editor, a tool that allows users to open files with line numbers in an editor from Node.js. Due to insufficient sanitization of the `file` argument in the `launchEditor` function, an attacker can execute arbitrary commands on Windows systems by supplying a filename that contains special characters. This can lead to a complete compromise of the affected system.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.3 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vitejs | launch-editor | < 2.9.0 (affected) | GitHub_M · cna |
| vitejs | vite | < 5.4.9 (affected) | GitHub_M · cna |
| Red Hat | Cluster Observability Operator 1.5.0 | 1782839279 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Cluster Observability Operator 1.5.0 | 1782840539 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Cryostat 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Cryostat 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Migration Toolkit for Containers | Default: unaffected | redhat-SADP · adp |
| Red Hat | Node HealthCheck Operator | Default: unaffected | redhat-SADP · adp |
| Red Hat | Node HealthCheck Operator | Default: unaffected | redhat-SADP · adp |
| Red Hat | Node HealthCheck Operator | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Service Mesh 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Service Mesh 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Service Mesh 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Service Mesh 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Service Mesh 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Service Mesh 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat AMQ Broker 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat AMQ Broker 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Apache Camel - HawtIO 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Keycloak | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Data Grid 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Discovery 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Dev Spaces | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Virtualization 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Self-service automation portal 2 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
6- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/security/cve/CVE-2024-52011
- RHBZ#2483853 https://bugzilla.redhat.com/show_bug.cgi?id=2483853
- https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e
- https://github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf
- https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52011.json
Provider assertions
3GitHub_M · cna
launch-editor vulnerable to command injection via the crafted request on Windows
redhat-SADP · adp
launch-editor: vite: launch-editor: Arbitrary command execution via insufficient file argument sanitization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8f13ba6e6ceae93de4efdb6b020692797286f8fa50a9446f1505b56d21226d8d
- Ingested
- 23 Sep 2026, 08:30:39 UTC
- Source record
- Official CVE record