CVE-2026-25077
Arbitrary Code Execution in Apache CloudStack KVM Templates
Publication date: 2026-05-08
Last updated on: 2026-05-08
Assigner: Apache Software Foundation
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| apache | cloudstack | From 4.21.0.0 (inc) to 4.22.0.1 (exc) |
| apache | cloudstack | From 4.11.0.0 (inc) to 4.20.3.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-94 | The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs because account users are allowed by default to register templates that can be downloaded directly to the primary storage used for deploying instances with the KVM hypervisor.
Due to missing file name sanitization, an attacker can register malicious templates that execute arbitrary code on the KVM hosts.
How can this vulnerability impact me? :
Exploitation of this vulnerability can lead to compromise of resource integrity and confidentiality.
It can also cause data loss, denial of service, and affect the availability of the KVM-based infrastructure managed by CloudStack.
What immediate steps should I take to mitigate this vulnerability?
Users are recommended to upgrade to Apache CloudStack versions 4.20.3.0 or 4.22.0.1, or later, which fixes this issue.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The vulnerability allows attackers to execute arbitrary code on KVM hosts, potentially compromising resource integrity and confidentiality, causing data loss, denial of service, and affecting availability of the infrastructure.
Such impacts on confidentiality, integrity, and availability could negatively affect compliance with standards and regulations like GDPR and HIPAA, which require protection of sensitive data and system availability.