# CVE-2026-25077: Apache CloudStack: Unauthenticated Command Injection in Direct Download Templates

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2026-05-08T12:21:27.034Z
- Modified: 2026-10-26T19:10:00.163Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache CloudStack: from 4.11.0 up to 4.20.2.0; from 4.21.0.0 up to 4.22.0.0
- apache cloudstack: from 4.11.0.0 before 4.20.3.0; from 4.21.0.0 before 4.22.0.1

## References

- <https://lists.apache.org/thread/n8mt5b7wkpysstb8w7rr9f02kc5cq2xm> (mailing-list, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/05/09/6>

## Sources

- CVE List: [CVE-2026-25077](https://www.cve.org/CVERecord?id=CVE-2026-25077), CVE Terms of Use, modified 2026-05-10
- NVD: [CVE-2026-25077](https://nvd.nist.gov/vuln/detail/CVE-2026-25077), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-25077 · Whole record: https://cve.day/CVE-2026-25077.json · Rebuilt by cve.day 2026-11-25T22:59:20.966Z
