Home / Apache Software Foundation / Apache CloudStack / CVE-2024-50386
CVE-2024-50386: is it exploited, and which versions of Apache Software Foundation Apache CloudStack are affected and fixed?
CVE-2024-50386 is an improper input validation vulnerability in Apache Software Foundation Apache CloudStack. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: Apache CloudStack from 4.0.0 through 4.18.2.4 and Apache CloudStack from 4.19.0.0 through 4.19.1.2 (CVE record by apache). Fixed in 4.18.2.5 and 4.19.1.3 (NVD). Severity: High (8.5, CVSS 3.1, from apache).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:25 UTC.
What is CVE-2024-50386?
Apache CloudStack: Directly downloaded templates can be used to abuse KVM-based infrastructure
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
From the CVE record by apache, last updated November 12, 2024, 20:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache CloudStack | from 4.0.0 through 4.18.2.4 from 4.19.0.0 through 4.19.1.2 |
As the CVE record by apache states it, last updated November 12, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | cloudstack | from 4.0.0 before 4.18.2.5 | application |
| apache | cloudstack | from 4.19.0.0 before 4.19.1.3 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:04 UTC.
How severe is CVE-2024-50386?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | apache |
| Critical 9.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-50386 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, November 12, 2024)
- EPSS
- 1.47% probability of exploitation activity in the next 30 days, percentile 74.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://cloudstack.apache.org/blog/security-release-advisory-4.18.2.5-4.19.1.3 vendor-advisory, patch
- https://lists.apache.org/thread/d0x83c2cyglzzdw8csbop7mj7h83z95y mailing-list
- https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-5-and-4-19-1-3/ third-party-advisory
- http://www.openwall.com/lists/oss-security/2024/11/12/3
Who found and reported it?
- Kiran Chavala (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 23, 2024
- Published
- November 12, 2024, 14:34 UTC
- CVE record updated
- November 12, 2024, 20:06 UTC by apache
- NVD
- Analyzed, last modified June 17, 2026, 08:04 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:25 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache CloudStack?
- Aug 21, 2026CVE-2026-59654 Apache Software Foundation Apache CloudStack: resource not released after use
- Aug 21, 2026CVE-2026-47359 Apache Software Foundation Apache CloudStack: OS command injection
- Aug 21, 2026CVE-2026-50112 Apache Software Foundation Apache CloudStack: OS command injection
- Aug 21, 2026CVE-2026-50222 Apache Software Foundation Apache CloudStack: missing authorization
- Aug 21, 2026CVE-2026-59085 Apache Software Foundation Apache CloudStack: server-side request forgery (SSRF)
- Aug 21, 2026CVE-2026-59655 Apache Software Foundation Apache CloudStack: information disclosure
- Aug 21, 2026CVE-2026-59657 Apache Software Foundation Apache CloudStack: sensitive data stored in clear text
- Aug 21, 2026CVE-2026-59780 Apache Software Foundation Apache CloudStack: information disclosure
Every CVE in Apache CloudStack
Questions about CVE-2024-50386
Is CVE-2024-50386 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 1.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache CloudStack are affected by CVE-2024-50386?
Apache CloudStack from 4.0.0 through 4.18.2.4 and Apache CloudStack from 4.19.0.0 through 4.19.1.2, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2024-50386?
4.18.2.5 and 4.19.1.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-50386?
High (8.5, CVSS 3.1, from apache). The severity table above shows each score with its source.
Where is the official record of CVE-2024-50386?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.