# CVE-2026-61400: Apache CloudStack: Get and Run Diagnostics Command Injection

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.57%, higher than 76% of CVEs (2026-12-01)
- Published: 2026-08-21T08:25:02.951Z
- Modified: 2026-10-16T15:10:00.103Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- 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
- apache cloudstack: from 4.20.0.0 before 4.20.3.1; from 4.21.0.0 before 4.22.1.1

## References

- <https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc> (mailing-list, vendor-advisory)

## Sources

- CVE List: [CVE-2026-61400](https://www.cve.org/CVERecord?id=CVE-2026-61400), CVE Terms of Use, modified 2026-08-22
- NVD: [CVE-2026-61400](https://nvd.nist.gov/vuln/detail/CVE-2026-61400), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-61400 · Whole record: https://cve.day/CVE-2026-61400.json · Rebuilt by cve.day 2026-11-25T22:59:34.764Z
