// For flags

CVE-2026-25077

Apache CloudStack: Unauthenticated Command Injection in Direct Download Templates

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

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.

*Credits: Reza at HazardLab (https://hazardlab.ninja)
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
None
Automatable
No
Tech. Impact
Total
* Organization's Worst-case Scenario
Timeline
  • 2026-01-28 CVE Reserved
  • 2026-05-08 CVE Published
  • 2026-05-10 CVE Updated
  • 2026-05-14 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Apache
Search vendor "Apache"
Cloudstack
Search vendor "Apache" for product "Cloudstack"
>= 4.11.0.0 < 4.20.3.0
Search vendor "Apache" for product "Cloudstack" and version " >= 4.11.0.0 < 4.20.3.0"
-
Affected
Apache
Search vendor "Apache"
Cloudstack
Search vendor "Apache" for product "Cloudstack"
>= 4.21.0.0 < 4.22.0.1
Search vendor "Apache" for product "Cloudstack" and version " >= 4.21.0.0 < 4.22.0.1"
-
Affected