{"id":"CVE-2026-61400","aliases":["CVE-2026-61400"],"related":[],"kind":"vulnerability","state":"published","title":"Apache CloudStack: Get and Run Diagnostics Command Injection","summary":"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.\n\nAn 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.\n\n\n\nThe getDiagnosticsData and runDiagnostics APIs are restricted to only Admin role accounts by default.\n\n\nThis 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.\n\nUsers are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nAn 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.\n\n\n\nThe getDiagnosticsData and runDiagnostics APIs are restricted to only Admin role accounts by default.\n\n\nThis 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.\n\nUsers are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.","source":"cvelist"},{"lang":"es","text":"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.\n\nUn 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.\n\nLas APIs 'getDiagnosticsData' y 'runDiagnostics' están restringidas solo a cuentas con rol de Administrador por defecto.\n\nEste 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.\n\nSe recomienda a los usuarios actualizar a la versión 4.20.3.1 o 4.22.1.1 o posterior, que corrige el problema.","source":"nvd"}],"published":"2026-08-21T08:25:02.951Z","modified":"2026-10-16T15:10:00.103Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"semver","introduced":"4.14.0.0","lastAffected":"4.20.3.0","status":"affected"},{"type":"semver","introduced":"4.21.0.0","lastAffected":"4.22.1.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache CloudStack","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.20.0.0","fixed":"4.20.3.1"},{"status":"affected","introduced":"4.21.0.0","fixed":"4.22.1.1"}],"vendor":"apache","product":"cloudstack","cpe":"cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc","tags":["mailing-list","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Łukasz Bawolski <Lukasz.Bawolski@exea.pl>"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-21T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-61400","url":"https://www.cve.org/CVERecord?id=CVE-2026-61400","licence":"CVE Terms of Use","modified":"2026-08-22T03:56:24.167Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-61400","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61400","licence":"Public domain","modified":"2026-10-16T15:10:00.103Z"}],"updatedAt":"2026-11-25T22:59:34.764Z","epss":{"score":0.01571,"percentile":0.7612,"date":"2026-12-01T12:00:22.000Z"}}