CVE-2026-25077: CWE-94 Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation Apache CloudStack
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.
AI Analysis
Technical Summary
Apache CloudStack versions 4.11.0 through 4.21.0.0 contain a code injection vulnerability (CWE-94) due to missing file name sanitization when users register templates for deployment on KVM hypervisors. This allows attackers with account user privileges to register malicious templates that execute arbitrary code on KVM hosts, potentially compromising system integrity, confidentiality, and availability. The vulnerability has a CVSS 3.1 base score of 8.8 (high severity) with network attack vector, low attack complexity, and no user interaction required. The vendor recommends upgrading to versions 4.20.3.0 or 4.22.0.1 or later to remediate the issue.
Potential Impact
Successful exploitation can result in arbitrary code execution on KVM hosts managed by Apache CloudStack, leading to compromise of resource integrity and confidentiality, data loss, denial of service, and disruption of availability for the affected infrastructure.
Mitigation Recommendations
Users should upgrade Apache CloudStack to version 4.20.3.0, 4.22.0.1, or later, which contain fixes for this vulnerability. Patch status is not explicitly confirmed in the advisory fields, but the vendor recommendation to upgrade to these versions indicates an official fix is available. No alternative mitigations are specified.
CVE-2026-25077: CWE-94 Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation Apache CloudStack
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.
CVSS v3.1
Score 8.8high
Affected software
pkg:maven/org.apache.cloudstack/cloudstackRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Apache CloudStack versions 4.11.0 through 4.21.0.0 contain a code injection vulnerability (CWE-94) due to missing file name sanitization when users register templates for deployment on KVM hypervisors. This allows attackers with account user privileges to register malicious templates that execute arbitrary code on KVM hosts, potentially compromising system integrity, confidentiality, and availability. The vulnerability has a CVSS 3.1 base score of 8.8 (high severity) with network attack vector, low attack complexity, and no user interaction required. The vendor recommends upgrading to versions 4.20.3.0 or 4.22.0.1 or later to remediate the issue.
Potential Impact
Successful exploitation can result in arbitrary code execution on KVM hosts managed by Apache CloudStack, leading to compromise of resource integrity and confidentiality, data loss, denial of service, and disruption of availability for the affected infrastructure.
Mitigation Recommendations
Users should upgrade Apache CloudStack to version 4.20.3.0, 4.22.0.1, or later, which contain fixes for this vulnerability. Patch status is not explicitly confirmed in the advisory fields, but the vendor recommendation to upgrade to these versions indicates an official fix is available. No alternative mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-01-28T22:03:17.222Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fddc53cbff5d8610d5568d
Added to database: 05/08/2026, 12:51:31 UTC
Last enriched: 05/16/2026, 10:58:40 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 96
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.