Skip to main content

Apache CloudStack CVE-2026-25077

| EUVDEUVD-2026-28549 HIGH
Code Injection (CWE-94)
2026-05-08 apache GHSA-vhgc-6rjx-f6vv
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 CloudStack account credentials
  2. Delivery
    Register malicious template with crafted filename
  3. Exploit
    Template download triggers code injection
  4. Execution
    Execute arbitrary code on KVM host
  5. Impact
    Compromise hypervisor integrity and hosted VMs

Vulnerability Assessment

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

2 techniques across 2 tactics: Execution, Initial Access

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

Exploitation Conditions

Attacker must possess valid CloudStack account credentials with template registration permissions (PR:L indicates low-privileged authenticated access). The target CloudStack deployment must use KVM as the hypervisor technology, as the vulnerability specifically affects template downloads to KVM primary storage - deployments using VMware vSphere, XenServer, or other supported hypervisors are not affected by this attack vector. The CloudStack configuration must allow account users to register templates for direct download to primary storage, which is the default configuration per the vulnerability description. Exploitation is limited by the requirement for authenticated access and the specific hypervisor technology, but once these conditions are met, attack complexity is low (AC:L) with no user interaction required (UI:N). These prerequisites significantly narrow the attack surface compared to unauthenticated remote vulnerabilities, making this a targeted threat primarily for multi-tenant KVM-based CloudStack environments where untrusted users have account access.

Impact

The CVSS 8.8 score (AV:N/AC:L/PR:L/UI:N) indicates network-exploitable vulnerability with low attack complexity requiring only low-privileged authentication. However, multiple risk signals provide critical context. EPSS score of 0.04% (11th percentile) suggests very low probability of exploitation in the wild. CISA SSVC framework reports no exploitation observed, not automatable, with partial technical impact. The CVSS score reflects worst-case scenario impact on KVM infrastructure, but real-world risk is significantly constrained by exploitation prerequisites: attacker must have valid CloudStack account credentials AND the deployment must use KVM hypervisors (not VMware, XenServer, or other supported platforms). The 'low privilege' requirement means any authenticated user can exploit this, not just administrators, elevating concern for multi-tenant environments. Vendor patches are confirmed available (4.20.3.0, 4.22.0.1) per Apache advisory. This represents a serious vulnerability for KVM-based CloudStack deployments but current exploitation risk appears theoretical rather than active. Priority should be HIGH for KVM environments with untrusted account users, MEDIUM for single-tenant KVM deployments, LOW for non-KVM hypervisor deployments.

Exploit ScenarioDerived

An authenticated CloudStack account user with standard privileges accesses the template registration interface and submits a malicious template URL with a crafted filename containing code injection sequences (e.g., command substitution or path traversal with executable content). When CloudStack processes this registration to download the template directly to KVM primary storage, the unsanitized filename executes arbitrary commands on the KVM hypervisor host with the privileges of the CloudStack agent process. The attacker gains code execution on the hypervisor infrastructure, potentially compromising all virtual machines on that host, exfiltrating data from primary storage, or disrupting cloud services. No public proof-of-concept code is identified at time of analysis, but the attack technique is straightforward for anyone with CloudStack account access.

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

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

Alert me

AnalysisAIv2 – May 10, 2026

Remote code execution in Apache CloudStack allows authenticated account users to execute arbitrary code on KVM hypervisor hosts by registering malicious templates with unsanitized filenames. Affects CloudStack 4.11.0 through 4.20.2.0 and 4.21.0.0 through 4.22.0.0 when using KVM hypervisors. Despite high CVSS (8.8), EPSS exploitation probability is very low (0.04%, 11th percentile) and CISA SSVC reports no active exploitation. Vendor-released patches are available in versions 4.20.3.0 and 4.22.0.1.

Earlier versions of this analysis (1)
v1 May 08, 2026 - 18:23 CVSS 6.3

Remote code execution in Apache CloudStack allows authenticated users to register malicious templates with unsanitized file names that execute arbitrary code on KVM hypervisor hosts, compromising the integrity and confidentiality of virtualized infrastructure managed by the platform. Affected versions range from 4.11.0 through 4.20.2.0 and 4.21.0.0 through 4.22.0.0; exploitation requires valid CloudStack user account credentials but no elevated privileges. Vendor-released patches are available in CloudStack 4.20.3.0 and 4.22.0.1.

RemediationAI

Upgrade to Apache CloudStack version 4.20.3.0 or 4.22.0.1 (or later versions) which contain vendor-confirmed fixes for the filename sanitization vulnerability per the official Apache advisory at https://lists.apache.org/thread/n8mt5b7wkpysstb8w7rr9f02kc5cq2xm. For environments unable to immediately patch, implement these compensating controls with noted trade-offs: (1) Restrict template registration permissions to trusted administrative accounts only via CloudStack role-based access control, removing this capability from general account users - this limits cloud self-service functionality but prevents untrusted users from exploiting the vulnerability. (2) Deploy file integrity monitoring on KVM hypervisor hosts to detect unauthorized file creation in primary storage paths - provides detection but not prevention, requiring active monitoring and incident response. (3) Isolate KVM management networks from untrusted account user access and enforce strict network segmentation between CloudStack management servers and hypervisor hosts - reduces attack surface but does not eliminate risk for authenticated users. All workarounds reduce functionality or require additional security tooling; vendor patching is the primary recommended remediation.

Affected VersionsENISA

Apache CloudStack 4.11.0 ≤4.20.2.0
Apache CloudStack 4.21.0.0 ≤4.22.0.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 is an open-source Infrastructure-as-a-Service (IaaS) cloud computing platform that manages compute, storage, and network resources. The vulnerability (CWE-94: Improper Control of Generation of Code) exists in CloudStack's template registration functionality for KVM hypervisors. When account users register templates for direct download to primary storage, the template filename parameter lacks proper sanitization. This allows injection of malicious code or path traversal sequences that execute when the template file is processed on the KVM host filesystem. The affected CPE (cpe:2.3:a:apache_software_foundation:apache_cloudstack) covers the platform's core orchestration layer that interfaces with hypervisor infrastructure. KVM (Kernel-based Virtual Machine) is a Linux hypervisor technology, and CloudStack's management of KVM hosts involves file operations that became the attack surface for this code injection vulnerability.

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 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (apache) · only source for this CVE.

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

6
Analysis Updated
May 10, 2026 - 15:27 vuln.today
v2 - CVSS changed
Severity Changed
May 10, 2026 - 15:22 NVD
MEDIUM HIGH
CVSS changed
May 10, 2026 - 15:22 NVD
6.3 (MEDIUM) 8.8 (HIGH)
CVSS changed
May 08, 2026 - 18:22 NVD
6.3 (MEDIUM)
CVE Published
May 08, 2026 - 12:21 nvd
MEDIUM 6.3
CVE Published
May 08, 2026 - 12:21 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

Account users are allowed by default to register templates to be downloaded directly to the primary storage for deploying instances using the KVM hypervisor. Due to missing file name sanitization, an attacker can register malicious templates to execute arbitrary code on the KVM hosts. This can result in the compromise of resource integrity and confidentiality, data loss, denial of service, and availability of the KVM-based infrastructure managed by CloudStack.

Users are recommended to upgrade to Apache CloudStack versions 4.20.3.0 or 4.22.0.1, or later, which fixes this issue.

Executive ViewAI

Why It Matters

Apache CloudStack contains a remote code execution vulnerability affecting versions 4.11.0 through 4.20.2.0 and 4.21.0 through 4.22.0.0 with KVM hypervisors, enabling authenticated users to execute arbitrary code on hypervisor hosts through malicious template registration. While the technical severity is high (CVSS 8.8), actual exploitation risk is minimal with no confirmed active attacks, but organizations running affected CloudStack versions should prioritize patching to prevent potential lateral movement from compromised tenant accounts to underlying infrastructure.

Business Impact: Medium
Compensating Controls

Vendor-released patch: CloudStack 4.20.3.0 and 4.22.0.1. If patching cannot be completed immediately: restrict template registration to administrative accounts only, implement network segmentation to limit KVM hypervisor access from CloudStack management plane, and audit existing templates for suspicious or malformed filenames. Monitor CloudStack logs for template registration events from non-administrative accounts.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
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.0%
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
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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-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

CVE-2026-59085 CRITICAL
9.1 Aug 21

Server-Side Request Forgery in Apache CloudStack's webhook module lets attackers coerce the management server into issui

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