CVE-2026-25077 Apache CloudStack: Unauthenticated Command Injection in Direct Download Templates
Attackers can execute arbitrary code on KVM hosts by registering malicious templates due to missing filename sanitization in Apache CloudStack.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-25077?
CVE-2026-25077 is a high-severity command injection vulnerability in Apache Cloudstack, published on 8 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2026-25077?
It affects 1 product.
Products include Apache Cloudstack.
How do I fix CVE-2026-25077?
No fix has been published for CVE-2026-25077 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-25077 being exploited?
There is no known exploitation of CVE-2026-25077 in the wild and no public exploit code.
Other vulnerabilities in Apache Cloudstack
- CVE-2012-4501 Missing authorization in n/a
- CVE-2024-38346 Apache CloudStack: Unauthenticated cluster service port leads to remote execution
- CVE-2024-39864 Apache CloudStack: Integration API service uses dynamic port when disabled
- CVE-2024-29006 Apache CloudStack: x-forwarded-for HTTP header parsed by default
- CVE-2022-35741 Apache CloudStack SAML Single Sign-On XXE
Sources
Also known as GHSA-vhgc-6rjx-f6vv.