CVE-2026-25077 PUBLISHED

Apache CloudStack: Unauthenticated Command Injection in Direct Download Templates

Assigner: apache
Reserved: 28.01.2026 Published: 08.05.2026 Updated: 09.05.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache CloudStack
Versions Default: unaffected
  • affected from 4.11.0 to 4.20.2.0 (incl.)
  • affected from 4.21.0.0 to 4.22.0.0 (incl.)

Credits

  • Reza at HazardLab (https://hazardlab.ninja) reporter

References

Problem Types

  • CWE-94 Improper Control of Generation of Code ('Code Injection') CWE