Skip to main content

Apache CloudStack EUVDEUVD-2026-63837

| CVE-2026-61400 HIGH
Command Injection (CWE-77)
2026-08-21 apache GHSA-g382-2jw5-f8xr
8.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or compromise Admin-role CloudStack credentials
  2. Delivery
    Identify target system VM or Virtual Router instance
  3. Exploit
    Call runDiagnostics or getDiagnosticsData API with injected shell payload
  4. Execution
    Commands execute as root inside target VM
  5. Impact
    Pivot from Virtual Router to intercept or manipulate guest tenant network traffic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a CloudStack account with the Admin role, which is the only role authorized by default to call the getDiagnosticsData and runDiagnostics APIs; standard User and Domain Admin accounts without specific delegation cannot invoke these APIs and are not a viable attack vector through this vulnerability. The attacker must have network access to the CloudStack management API endpoint. Affected versions are specifically 4.20.0.0-4.20.3.0 and 4.21.0.0-4.22.1.0; instances running patched versions (4.20.3.1+, 4.22.1.1+) or versions outside these ranges are not affected. The primary limiting factor is the Admin role requirement: in well-governed deployments with few Admin accounts, strong credential hygiene, and network-isolated management APIs, the realistic exploitation path narrows significantly to insider threat or targeted credential compromise. Multi-tenant deployments using shared Admin credentials or federated identity with weak MFA represent elevated risk.

Impact

No CVSS score was provided by NVD for this CVE, so risk must be assessed from first principles. The Admin-role prerequisite is a meaningful gatekeeping control - it limits the exploitable attacker population to CloudStack operators who already hold the highest privilege tier within the management plane, substantially reducing the likelihood of opportunistic exploitation by external actors. However, this does not make the vulnerability low-priority: Admin credentials are frequent targets in cloud infrastructure attacks, and credential compromise or overly broad Admin role assignments can collapse this barrier. The scope change is the critical amplifier - a compromised Virtual Router sits inline with all guest network traffic it handles, enabling traffic interception, manipulation, or redirection affecting multiple tenants, not just the CloudStack operator. No EPSS data is available to quantify exploitation probability, and the absence of a CISA KEV listing suggests no observed in-the-wild exploitation at the time of reporting. Command injection (CWE-77) is a well-understood, low-complexity technique once access is established, meaning exploitation sophistication is not a meaningful barrier after admin access is obtained. Overall, this is a high-priority finding for any organization running affected CloudStack versions, particularly multi-tenant deployments where Virtual Router compromise would have cross-tenant consequences.

Exploit ScenarioDerived

An attacker who has obtained Admin-role credentials - through phishing, credential stuffing against the CloudStack management portal, or insider access - crafts a call to the runDiagnostics API with a parameter value containing shell metacharacters (e.g., a semicolon or backtick-delimited command) targeting a Virtual Router instance. The CloudStack management server passes the unsanitized input to a diagnostic command executed inside the Virtual Router, causing arbitrary commands to run as root. The attacker then uses the compromised Virtual Router to intercept or redirect guest tenant network traffic or deploy a persistent backdoor within the CloudStack network infrastructure. No public proof-of-concept code has been identified, but command injection exploitation is a well-documented, low-skill technique.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 21, 2026

Command injection in Apache CloudStack's diagnostics APIs allows Admin-role authenticated users to execute arbitrary commands as root on system VMs and Virtual Routers, constituting a full compromise of those instances across versions 4.20.0.0-4.20.3.0 and 4.21.0.0-4.22.1.0. The getDiagnosticsData and runDiagnostics API endpoints fail to properly neutralize special shell characters in user-supplied input before passing it to underlying diagnostic processes on the target VMs. No public exploit code or CISA KEV listing has been identified at time of analysis, but successful exploitation of a Virtual Router can expose all guest network traffic routed through that instance and provide a lateral movement foothold within the CloudStack-managed infrastructure.

RemediationAI

Upgrade Apache CloudStack to version 4.20.3.1 (for the 4.20.x track) or 4.22.1.1 (for the 4.21.x/4.22.x track) or later, as confirmed by the vendor advisory at https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc. These are the vendor-released patch versions that fix the command injection. If immediate upgrade is operationally infeasible, restrict or disable access to the getDiagnosticsData and runDiagnostics API endpoints at the CloudStack management API layer or via firewall rules - this eliminates the exploitation vector but also removes the ability to run diagnostics on system VMs and Virtual Routers, which may impact operational troubleshooting workflows. Additionally, audit all accounts assigned the Admin role and revoke unnecessary Admin assignments to reduce the pool of accounts that could invoke these APIs; enforce multi-factor authentication on Admin accounts to raise the cost of credential compromise.

Affected VersionsENISA

Apache CloudStack 4.21.0.0 ≤4.22.1.0
Apache CloudStack 4.14.0.0 ≤4.20.3.0

Affected Packages

euvd apache_cloudstack no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache CloudStack (CPE: cpe:2.3:a:apache_software_foundation:apache_cloudstack) is an open-source IaaS cloud orchestration platform that manages compute, network, and storage resources. Its system VMs and Virtual Routers are specialized VMs that provide infrastructure services - DNS, DHCP, NAT, VPN, and load balancing - for tenant workloads. The getDiagnosticsData and runDiagnostics APIs are administrative endpoints designed to allow operators to collect diagnostic information and run network-level checks against these infrastructure VMs. CWE-77 (Improper Neutralization of Special Elements used in a Command) indicates that user-controlled input to these APIs is passed to a shell or command interpreter without adequate sanitization, allowing injection of shell metacharacters or additional commands. Because the diagnostic processes run with elevated privileges (root or a privileged diagnostics user) inside the system VMs, the injection achieves immediate high-impact code execution without requiring further privilege escalation within the target instance.

Know when Apache Cloudstack gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 8.8 LOW
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.1 CRITICAL

Network-accessible API (AV:N, AC:L) requires Admin credentials (PR:H); scope changes to separate system VM/VR instances (S:C) with full root-level code execution impact.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
1.2%
Top 35% exploitable
Prevalence
Medium
popular open-source IaaS cloud management platform, enterprise and service-provider deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

21
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +20
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2026-62440 CRITICAL
9.1 Aug 21

Cross-tenant manipulation in Apache CloudStack's Kubernetes Service (CKS) plugin allows a tenant to add and remove nodes

CVE-2026-25199 CRITICAL
9.1 May 08

Unauthorized cross-tenant access in Apache CloudStack 4.21.0 through 4.22.0 allows remote unauthenticated attackers to g

CVE-2026-59799 HIGH
8.8 Aug 21

Two-factor authentication bypass in Apache CloudStack allows an authenticated low-privileged user to exploit an improper

CVE-2026-50112 HIGH
8.8 Aug 21

Cross-tenant root command execution in Apache CloudStack (4.14.0.0-4.20.3.0 and 4.21.0.0-4.22.1.0) allows an authenticat

CVE-2026-25077 HIGH
8.8 May 08

Remote code execution in Apache CloudStack allows authenticated account users to execute arbitrary code on KVM hyperviso

CVE-2026-68745 HIGH
8.1 Aug 21

SAML authentication bypass in Apache CloudStack 4.20.3.0 and 4.22.1.0 permits a network-positioned attacker to forge SAM

CVE-2025-66467 HIGH
8.1 May 08

Apache CloudStack deployments that use MinIO-backed object storage fail to revoke the MinIO policy associated with a buc

CVE-2025-66172 HIGH
8.1 May 08

Authenticated CloudStack users can hijack volumes from other tenants' backups via the Backup plugin in versions 4.21.0.0

CVE-2026-59655 HIGH
7.5 Aug 21

Sensitive OAuth configuration data is exposed to unauthenticated remote actors in Apache CloudStack's OAuth authenticati

CVE-2026-61397 HIGH
7.5 Aug 21

Sensitive information exposure in Apache CloudStack's OAuth2 authentication plugin and Google OAuth integration allows u

CVE-2026-50222 HIGH
7.5 Aug 21

Missing authorization controls across multiple Userdata-related APIs in Apache CloudStack expose cross-tenant data to an

CVE-2026-66722 HIGH
7.2 Aug 21

Broken object-level authorization in Apache CloudStack exposes project role management APIs to Domain Admins operating o

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy