CVE-2026-61400: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') in Apache Software Foundation Apache CloudStack
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 to invoke getDiagnosticsData or runDiagnostics APIs can execute arbitrary commands on affected instances, potentially as root. This vulnerability allows full compromise of the affected system VM or virtual router, enabling possible lateral movement within the CloudStack infrastructure. The issue affects Apache CloudStack versions from 4.20.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0. Fixed versions are 4.20.3.1 and 4.22.1.1 or later.
AI Analysis
Technical Summary
This vulnerability (CWE-77) in Apache CloudStack arises from improper neutralization of special elements in commands within the run and get diagnostics functionality for system VMs and virtual routers. An authenticated user with admin role permissions to call getDiagnosticsData or runDiagnostics APIs can execute arbitrary commands on the system VM or virtual router instances. Commands run with root privileges or at least as the diagnostics-process user, leading to full compromise of the affected instance. This can facilitate lateral movement within the CloudStack-managed environment and access to guest network traffic. The vulnerability affects Apache CloudStack versions >=4.20.0.0 <4.20.3.1 and >=4.21.0.0 <4.22.1.1. Users are advised to upgrade to 4.20.3.1 or 4.22.1.1 or later to remediate the issue.
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 unauthorized control over network traffic and potential lateral movement within the CloudStack infrastructure.
Mitigation Recommendations
Upgrade affected Apache CloudStack installations to version 4.20.3.1 or 4.22.1.1 or later, which contain fixes for this vulnerability. No other mitigation or temporary workaround is specified. Since the APIs are restricted to admin role accounts by default, limiting admin access reduces exposure.
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 to invoke getDiagnosticsData or runDiagnostics APIs can execute arbitrary commands on affected instances, potentially as root. This vulnerability allows full compromise of the affected system VM or virtual router, enabling possible lateral movement within the CloudStack infrastructure. The issue affects Apache CloudStack versions from 4.20.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0. Fixed versions are 4.20.3.1 and 4.22.1.1 or later.
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
This vulnerability (CWE-77) in Apache CloudStack arises from improper neutralization of special elements in commands within the run and get diagnostics functionality for system VMs and virtual routers. An authenticated user with admin role permissions to call getDiagnosticsData or runDiagnostics APIs can execute arbitrary commands on the system VM or virtual router instances. Commands run with root privileges or at least as the diagnostics-process user, leading to full compromise of the affected instance. This can facilitate lateral movement within the CloudStack-managed environment and access to guest network traffic. The vulnerability affects Apache CloudStack versions >=4.20.0.0 <4.20.3.1 and >=4.21.0.0 <4.22.1.1. Users are advised to upgrade to 4.20.3.1 or 4.22.1.1 or later to remediate the issue.
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 unauthorized control over network traffic and potential lateral movement within the CloudStack infrastructure.
Mitigation Recommendations
Upgrade affected Apache CloudStack installations to version 4.20.3.1 or 4.22.1.1 or later, which contain fixes for this vulnerability. No other mitigation or temporary workaround is specified. Since the APIs are restricted to admin role accounts by default, limiting admin access reduces exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-07-09T08:22:08.817Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a88309facd9273b4907b8a3
Added to database: 08/21/2026, 11:03:59 UTC
Last enriched: 08/21/2026, 11:07:02 UTC
Last updated: 08/21/2026, 12:18:25 UTC
Views: 4
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.