Skip to main content
EPSS 2.9%top 13%

CVE-2026-61400: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') in Apache Software Foundation Apache CloudStack

0
High
VulnerabilityCVE-2026-61400cvecve-2026-61400cwe-77
Published: 08/21/2026 (08/21/2026, 08:25:02 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Apache Software Foundation

Apache CloudStack

Affected versions
>=4.14.0.0 <=4.20.3.0>=4.21.0.0 <=4.22.1.0
org.apache.cloudstack/cloudstack
pkg:maven/org.apache.cloudstack/cloudstack
Affected versions
=4.14.0.0>=4.20.0.0 <4.20.3.1>=4.21.0.0 <4.22.1.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 18:30:39 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses