Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as CloudStack operator
-
DeliveryCall addBackupRepository API with shell-injected repository option
-
ExploitMalicious payload persisted in CloudStack configuration
-
ExecutionAny account triggers backup restore operation
-
PersistInjected command executes on KVM hypervisor host
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
More in Apache Cloudstack
View allCross-tenant manipulation in Apache CloudStack's Kubernetes Service (CKS) plugin allows a tenant to add and remove nodes
Unauthorized cross-tenant access in Apache CloudStack 4.21.0 through 4.22.0 allows remote unauthenticated attackers to g
Two-factor authentication bypass in Apache CloudStack allows an authenticated low-privileged user to exploit an improper
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
Remote code execution in Apache CloudStack allows authenticated account users to execute arbitrary code on KVM hyperviso
SAML authentication bypass in Apache CloudStack 4.20.3.0 and 4.22.1.0 permits a network-positioned attacker to forge SAM
Apache CloudStack deployments that use MinIO-backed object storage fail to revoke the MinIO policy associated with a buc
Authenticated CloudStack users can hijack volumes from other tenants' backups via the Backup plugin in versions 4.21.0.0
Sensitive OAuth configuration data is exposed to unauthenticated remote actors in Apache CloudStack's OAuth authenticati
Sensitive information exposure in Apache CloudStack's OAuth2 authentication plugin and Google OAuth integration allows u
Missing authorization controls across multiple Userdata-related APIs in Apache CloudStack expose cross-tenant data to an
Broken object-level authorization in Apache CloudStack exposes project role management APIs to Domain Admins operating o
EUVD-2026-63848
GHSA-q442-8588-4c7j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB