CVE-2026-61400CWE-77command-injection

CVE-2026-61400

High · published August 21, 2026

CVSS v3.1
8.8
EPSS
3%
Percentile
86.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02907 · 86.9th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2026-08-21T13:16Z
Affected products (2)
ProductVersionsFixed in
apache/cloudstack≥ 4.20.0.0, < 4.20.3.14.20.3.1
apache/cloudstack≥ 4.21.0.0, < 4.22.1.14.22.1.1
References (1)
EPSS history
Timeline
  • 21 AUG 08:25Z
    Apache CloudStack: Get and Run Diagnostics Command Injection
    cvelistv5