Skip to main content

Apache CloudStack EUVDEUVD-2026-63848

| CVE-2026-47359 HIGH
OS Command Injection (CWE-78)
2026-08-21 apache GHSA-q442-8588-4c7j
8.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as CloudStack operator
  2. Delivery
    Call addBackupRepository API with shell-injected repository option
  3. Exploit
    Malicious payload persisted in CloudStack configuration
  4. Execution
    Any account triggers backup restore operation
  5. Persist
    Injected command executes on KVM hypervisor host
  6. Impact
    Full OS-level access to hypervisor achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques 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 operator-level account (PR:L per CVSS vector) - standard user accounts cannot invoke the addBackupRepository or updateBackupRepository APIs. The NAS backup provider plugin must be actively configured and in use; deployments relying solely on other backup providers (e.g., Veeam, Storware) are not exposed to this specific code path. The attack is a two-phase stored injection: the operator submits the malicious payload via the repository API (Phase 1), and execution is deferred until any CloudStack account - including unprivileged users - triggers a backup restore operation (Phase 2). Environments where backup restore functionality is disabled or where no restore operations occur after the malicious configuration is set will not trigger execution. SSVC rates automatable as 'no,' likely because the cross-account, deferred trigger prevents fully automated single-actor exploitation. Limiting factors include: operator-level authentication required, NAS backup provider plugin must be deployed, and a subsequent backup restore action must occur on the affected KVM host.

Impact

The vendor-assigned CVSS 3.1 score of 8.8 (High) reflects network-accessible exploitation with low privilege requirements and full CIA impact. However, several signals warrant nuance: EPSS is only 0.51% (42nd percentile), indicating low current exploitation probability relative to the broader vulnerability pool. SSVC classifies exploitation as 'none' and automatable as 'no,' the latter likely reflecting the two-phase stored-injection mechanism - the attacker submits the payload but depends on a separate account's backup restore action to trigger execution, reducing automation feasibility. There is no CISA KEV listing and no public POC at time of analysis. Critically, the scope of impact is severe: successful exploitation achieves OS-level command execution on the KVM hypervisor host, which underpins all tenant virtual machines on that node, creating a potential lateral movement path to all hosted workloads. Organizations using CloudStack with the NAS backup provider in multi-tenant environments should treat this as high priority despite the modest EPSS, given the hypervisor breakout potential. Deployments not using the NAS backup provider plugin are not directly affected.

Exploit ScenarioDerived

An attacker holding a CloudStack operator account calls the addBackupRepository API with a crafted repository option containing shell metacharacters - for example, a semicolon-delimited command or backtick substitution - targeting the NAS backup provider. The malicious configuration is stored by CloudStack without sanitization. When any CloudStack account subsequently initiates a backup restore operation (a routine administrative or user action), the unsanitized repository option is interpolated into an OS command executed on the KVM hypervisor host, granting the attacker arbitrary code execution at the hypervisor level. No public POC has been identified at time of analysis.

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

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

Alert me

AnalysisAIv2 – Aug 26, 2026

OS command injection in Apache CloudStack's NAS backup provider plugin enables an authenticated operator account to execute arbitrary commands on KVM hypervisor hosts by supplying unsanitized shell metacharacters to the addBackupRepository or updateBackupRepository management APIs. Affected deployments span versions 4.20.0.0 through 4.22.1.0 when the NAS backup provider plugin is in use; exploitation is deferred and triggered when any downstream account performs a backup restore. No public exploit has been identified at time of analysis, and CISA SSVC rates exploitation status as 'none,' though technical impact is rated 'total' given hypervisor-level code execution.

Earlier versions of this analysis (1)
v1 Aug 21, 2026 - 09:13

OS command injection in Apache CloudStack's NAS backup provider plugin allows a malicious operator account to execute arbitrary commands on the underlying KVM hypervisor host. The addBackupRepository (since 4.20.0.0) and updateBackupRepository (since 4.22.0.0) APIs pass unsanitized command options directly to the host, and injected commands fire when any account later performs a backup restore - potentially long after the operator planted the payload. No public exploit code or CISA KEV listing has been identified at time of analysis, but the scope change to the hypervisor layer makes this a high-severity path to full infrastructure compromise in affected deployments.

RemediationAI

Upgrade Apache CloudStack to version 4.20.3.1 (for the 4.20.x branch) or 4.22.1.1 (for the 4.22.x branch) or later, per the vendor advisory at https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc. If immediate upgrade is not feasible, restrict operator-level CloudStack accounts to only explicitly trusted administrative personnel, since the vulnerability requires an operator account to invoke the backup repository APIs. Disabling or removing the NAS backup provider plugin eliminates the vulnerable code path entirely but removes NAS-based backup repository functionality. Blocking API access to the addBackupRepository and updateBackupRepository endpoints at the CloudStack management plane network boundary reduces exposure for externally accessible management interfaces, though this is a partial control. Monitor KVM hypervisor host process trees for anomalous commands spawned during backup restore operations as a detection measure.

Affected VersionsENISA

Apache CloudStack 4.20.0.0 ≤4.20.3.0
Apache CloudStack 4.21.0.0 ≤4.22.1.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

The vulnerability resides in Apache CloudStack's NAS backup provider plugin (CWE-78: Improper Neutralization of Special Elements used in an OS Command). Two management-plane APIs are affected: addBackupRepository, introduced in 4.20.0.0, and updateBackupRepository, introduced in 4.22.0.0. Both accept user-controlled repository configuration parameters that are passed without sanitization into OS-level commands executed on the KVM hypervisor host. This is a stored command injection pattern: the malicious payload is persisted via the repository configuration API and later triggered asynchronously when any account initiates a backup restore, at which point the unsanitized option is interpolated into a shell command running on the KVM host. The CPE cpe:2.3:a:apache_software_foundation:apache_cloudstack:*:*:*:*:*:*:*:* covers all platform variants across the affected ranges 4.20.0.0-4.20.3.0 and 4.21.0.0-4.22.1.0.

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.0 CRITICAL

PR:L for required operator account; UI:R because a third-party account must trigger the backup restore; S:C because execution occurs on the KVM hypervisor host, a distinct security authority from CloudStack.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/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

Lifecycle Timeline

2
Analysis Updated
Aug 26, 2026 - 16:10 vuln.today
v2 - CVSS changed
CVSS changed
Aug 26, 2026 - 15:52 NVD
8.8 (HIGH)

DescriptionCVE.org

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache CloudStack's NAS backup provider plugin. The addBackupRepository API (available since 4.20.0.0) and updateBackupRepository API (introduced in 4.22.0.0) accept unsanitized command options for the backup repository. A malicious operator account can exploit this to inject arbitrary commands that execute on the KVM hypervisor host when any account subsequently performs a backup restore.

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.

Executive ViewAI

Why It Matters

Apache CloudStack NAS backup provider plugin (versions 4.20.0.0-4.22.1.0) contains a vulnerability enabling hypervisor-level command execution, potentially compromising your entire virtualization platform and all hosted workloads. The risk affects backup-management administrative functions widely accessed across your organization. Immediate assessment and remediation is required to prevent infrastructure compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: disabling the NAS backup provider plugin, restricting API access to backup repository management functions to a minimal, MFA-protected set of trusted administrators, implementing network-level access controls to limit operator connectivity to hypervisor infrastructure, and enhanced monitoring for suspicious activity on backup management APIs.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
widely used open-source IaaS platform in enterprise private cloud 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 0.5%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
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