CVE-2026-61400: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') in Apache Software Foundation Apache CloudStack
Description
CVE-2026-61400 is a command injection vulnerability in Apache CloudStack affecting the run and get diagnostics functionality for system VMs and virtual routers. Authenticated users with admin permissions on the getDiagnosticsData or runDiagnostics APIs can execute arbitrary commands as root or diagnostics-process user. This allows full compromise of affected instances and potential lateral movement within the CloudStack infrastructure. The vulnerability affects Apache CloudStack versions from 4.20.0.0 through 4.20.3.0 and 4.21.0.0 through 4.22.1.0. Upgrading to versions 4.20.3.1 or 4.22.1.1 or later mitigates the issue.
CVSS v3.1
Score 8.8high
Affected software
Apache Software Foundation
Apache CloudStack
pkg:maven/org.apache.cloudstack/cloudstackRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-61400) in Apache CloudStack arises from improper neutralization of special elements in commands (CWE-77) within the run and get diagnostics functionality for system VMs and virtual routers. An authenticated user with admin role permissions invoking the getDiagnosticsData or runDiagnostics APIs can achieve arbitrary command execution on the system VM or virtual router instances. Commands execute with root privileges or at least as the diagnostics-process user, enabling full compromise of the affected instance. This can lead to lateral movement within the CloudStack-managed infrastructure and access to guest network traffic handled by the compromised virtual router. The affected versions include 4.20.0.0 through 4.20.3.0 and 4.21.0.0 through 4.22.1.0. The issue is fixed in versions 4.20.3.1 and 4.22.1.1.
Potential Impact
Successful exploitation allows an authenticated admin user to execute arbitrary commands as root or diagnostics-process user on system VMs or virtual routers, resulting in full compromise of those instances. This can lead to lateral movement within the CloudStack infrastructure and unauthorized access to guest network traffic. The vulnerability has a high CVSS score of 8.8, indicating a high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available. Users should upgrade Apache CloudStack to version 4.20.3.1 or 4.22.1.1 or later to remediate this vulnerability. The getDiagnosticsData and runDiagnostics APIs are restricted to admin role accounts by default, which limits exposure to authorized users only. Patch status is confirmed by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-07-09T08:22:08.817Z
- State
- PUBLISHED
Threat ID: 6a88309facd9273b4907b8a3
Added to database: 08/21/2026, 11:03:59 UTC
Last enriched: 09/10/2026, 18:30:39 UTC
Last updated: 10/05/2026, 06:48:17 UTC
Views: 67
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.