8.8high
Apache CloudStack: Get and Run Diagnostics Command Injection
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.57% (higher than 76% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
Description
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache CloudStack's run and get diagnostics functionality for the system VMs and virtual routers. An authenticated user holding the permissions required to invoke either `getDiagnosticsData` or `runDiagnostics` can achieve arbitrary command execution on the system VM and/or Virtual Router instances, with commands running as root (or as the diagnostics-process user, at minimum). This represents a full compromise of the affected instance and, depending on network segmentation, may provide a foothold for lateral movement within the CloudStack-managed infrastructure, including access to guest network traffic handled by the compromised Virtual Router. The getDiagnosticsData and runDiagnostics APIs are restricted to only Admin role accounts by default. This issue affects Apache CloudStack: from 4.20.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0. Users are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache CloudStack | from 4.14.0.0 up to 4.20.3.0, from 4.21.0.0 up to 4.22.1.0 | CVE List |
| apache cloudstack | from 4.20.0.0 before 4.20.3.1, from 4.21.0.0 before 4.22.1.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache CloudStack's run and get diagnostics functionality for the system VMs and virtual routers. An authenticated user holding the permissions required to invoke either `getDiagnosticsData` or `runDiagnostics` can achieve arbitrary command execution on the system VM and/or Virtual Router instances, with commands running as root (or as the diagnostics-process user, at minimum). This represents a full compromise of the affected instance and, depending on network segmentation, may provide a foothold for lateral movement within the CloudStack-managed infrastructure, including access to guest network traffic handled by the compromised Virtual Router. The getDiagnosticsData and runDiagnostics APIs are restricted to only Admin role accounts by default. This issue affects Apache CloudStack: from 4.20.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0. Users are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.
NVD (es)
Neutralización Inadecuada de Elementos Especiales utilizados en un Comando ('Inyección de Comandos') vulnerabilidad en la funcionalidad de ejecución y obtención de diagnósticos de Apache CloudStack para las máquinas virtuales del sistema (VMs) y los routers virtuales. Un usuario autenticado que posea los permisos necesarios para invocar 'getDiagnosticsData' o 'runDiagnostics' puede lograr la ejecución arbitraria de comandos en las instancias de la máquina virtual del sistema (VM) y/o del Router Virtual, con comandos ejecutándose como root (o como el usuario del proceso de diagnóstico, como mínimo). Esto representa un compromiso total de la instancia afectada y, dependiendo de la segmentación de la red, puede proporcionar un punto de apoyo para el movimiento lateral dentro de la infraestructura gestionada por CloudStack, incluyendo el acceso al tráfico de red de invitados manejado por el Router Virtual comprometido. Las APIs 'getDiagnosticsData' y 'runDiagnostics' están restringidas solo a cuentas con rol de Administrador por defecto. Este problema afecta a Apache CloudStack: desde 4.20.0.0 hasta 4.20.3.0 y desde 4.21.0.0 hasta 4.22.1.0. Se recomienda a los usuarios actualizar a la versión 4.20.3.1 o 4.22.1.1 o posterior, que corrige el problema.
References
| https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc | mailing-list, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-61400 changed 2026-08-22 | CVE Terms of Use |
| NVD | CVE-2026-61400 changed 2026-10-16 | Public domain |