Read the docs
TI-2024-33821 Aliases CVE-2024-50386GHSA-5pg9-rxpc-jxgf

Apache CloudStack: Directly downloaded templates can be used to abuse KVM-based infrastructure

Priority MEDIUM 46CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA.

Summary

Account users in Apache CloudStack by default are allowed to register templates to be downloaded directly to the primary storage for deploying instances. Due to missing validation checks for KVM-compatible templates in CloudStack 4.0.0 through 4.18.2.4 and 4.19.0.0 through 4.19.1.2, an attacker that can register templates, can use them to deploy malicious instances on KVM-based environments and exploit this to gain access to the host filesystems that could result in the compromise of resource integrity and confidentiality, data loss, denial of service, and availability of KVM-based infrastructure managed by CloudStack. Users are recommended to upgrade to Apache CloudStack 4.18.2.5 or 4.19.1.3, or later, which addresses this issue. Additionally, all user-registered KVM-compatible templates can be scanned and checked that they are flat files that should not be using any additional or unnecessary features. For example, operators can run the following command on their file-based primary storage(s) and inspect the output. An empty output for the disk being validated means it has no references to the host filesystems; on the other hand, if the output for the disk being validated is not empty, it might indicate a compromised disk. However, bear in mind that (i) volumes created from templates will have references for the templates at first and (ii) volumes can be consolidated while migrating, losing their references to the templates. Therefore, the command execution for the primary storages can show both false positives and false negatives. for file in $(find /path/to/storage/ -type f -regex [a-f0-9\-]*.*); do echo "Retrieving file [$file] info. If the output is not empty, that might indicate a compromised disk; check it carefully."; qemu-img info -U $file | grep file: ; printf "\n\n"; done For checking the whole template/volume features of each disk, operators can run the following command: for file in $(find /path/to/storage/ -type f -regex [a-f0-9\-]*.*); do echo "Retrieving file [$file] info."; qemu-img info -U $file; printf "\n\n"; done

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01472 73rd percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache CloudStack4.0.0 – 4.18.2.4; 4.19.0.0 – 4.19.1.2—No fix listedCNA
  • Apache CloudStack VendorApache Affected 4.0.0 – 4.18.2.4; 4.19.0.0 – 4.19.1.2 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*4.0.0 to before 4.18.2.5; 4.19.0.0 to before 4.19.1.3VulnerableApache
  • cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:* Versions 4.0.0 to before 4.18.2.5; 4.19.0.0 to before 4.19.1.3 Vulnerable ·Apache

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-50386
  2. 2026-10-03 Alias added: GHSA-5pg9-rxpc-jxgf

References

  • TI-2024-27459 Apache CloudStack: SAML Signature Exclusion CVSS 3.1HIGH 8.1
  • TI-2024-25607 Apache CloudStack: Unauthenticated cluster service port leads to remote execution CVSS 3.1CRITICAL 9.8
  • TI-2022-16183 Apache CloudStack SAML Single Sign-On XXE CVSS 3.1CRITICAL 9.8
  • TI-2012-03843 Citrix Cloud.com CloudStack, and Apache CloudStack pre-release, allows remote attackers… CVSS 2.0HIGH 10.0
  • TI-2024-26763 Apache CloudStack: Integration API service uses dynamic port when disabled CVSS 3.1CRITICAL 9.8
  • TI-2016-05854 Apache CloudStack 4.1 to 4.8.1.0 and 4.9.0.0 contain an API call designed to allow a user… CVSS 3.1CRITICAL 9.8
See all 64 →

Sources