CVE-2026-25077: Apache CloudStack - Command Injection
- Cve: CVE-2026-25077
- Name: Apache CloudStack - Command Injection
- Description: 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.
- Impact: Authenticated users can execute arbitrary code on KVM hosts, compromising data integrity, confidentiality, and availability of the infrastructure.
- Remediation: Upgrade to Apache CloudStack versions 4.20.3.0, 4.22.0.1 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, data_tampering, denial_of_service, information_disclosure
- Requirement type: logged_in
- Requirements: Attacker must have a user account to register templates.
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00726
- Epss percentile: 0.54857
- Assignee: [email protected]
- Published at: 2026-05-08T13:16:36Z
- Age in days: 200
- Modified at: 2026-10-26T19:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25077
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
References
| Url | Source | Tags |
|---|---|---|
| https://lists.apache.org/thread/n8mt5b7wkpysstb8w7rr9f02kc5cq2xm | nvd | Mailing List, Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/05/09/6 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:cloudstack | >= 4.21.0.0, < 4.22.0.1; >= 4.11.0.0, < 4.20.3.0 | no | nvd | /v1/products/apache/cloudstack |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 202
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports