High severity · published Aug 21, 2026
CVE-2026-61400
Apache CloudStack: Get and Run Diagnostics Command Injection
8.8
CVSS
2.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.9% · higher than 87% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AC
Apache CloudStack · Apache Software Foundation
4.14.0.0 through 4.20.3.0; 4.21.0.0 through 4.22.1.0 · source: vendor
CL
Cloudstack · Apache
4.20.0.0 before 4.20.3.1; 4.21.0.0 before 4.22.1.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-61400
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-61400
Mailing List
https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc
More from Apache CloudStack
9.1
CVE-2026-59085
Apache CloudStack: Server-Side Request Forgery (SSRF) vulnerability in webhook module
9.1
CVE-2026-61398
Apache CloudStack: Cross-Site Scripting (XSS) Vulnerability in Instance Reset Password Function in UI
9.1
CVE-2026-62440
Apache CloudStack: Improper access control in Kubernetes Service (CKS) cluster manipulation
9.1
CVE-2026-25199
Apache CloudStack: Proxmox Extension Allows Unauthorized Cross-Tenant Instance Access
8.8
CVE-2026-47359
Apache CloudStack: OS Command Injection due to unsanitized mount command
