CVE-2026-61400: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') in Apache Software Foundation Apache CloudStack
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 v3.1
Score 8.8high
Affected software
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
CVE-2026-61400 is a command injection vulnerability in Apache CloudStack's run and get diagnostics functionality affecting system VMs and virtual routers. Authenticated users with admin role permissions to call getDiagnosticsData or runDiagnostics APIs can execute arbitrary commands with elevated privileges, resulting in full compromise of the affected instance. This may allow attackers to move laterally within the CloudStack-managed environment and access guest network traffic handled by compromised virtual routers. The issue 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 vulnerability.
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, leading to full compromise of those instances. This can result in unauthorized control over affected infrastructure components and potential lateral movement within the CloudStack environment, including access to guest network traffic handled by compromised virtual routers.
Mitigation Recommendations
Users should upgrade Apache CloudStack to version 4.20.3.1 or 4.22.1.1 or later, where this vulnerability is fixed. The affected APIs are restricted to admin role accounts by default, limiting exposure to authorized users only. Patch status is confirmed by the vendor advisory recommending these versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-g382-2jw5-f8xr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-61400"]
- State
- PUBLISHED
Threat ID: 6a885f22acd9273b493f8071
Added to database: 08/21/2026, 14:22:26 UTC
Last enriched: 08/21/2026, 14:34:30 UTC
Last updated: 10/05/2026, 06:48:17 UTC
Views: 58
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.
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.