CVE-2026-25077: CWE-94 Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation Apache CloudStack
CVE-2026-25077 is a code injection vulnerability in Apache CloudStack affecting versions 4. 11. 0 through 4. 21. 0. 0. It arises because account users can register templates for deployment on KVM hypervisors without proper file name sanitization, allowing malicious templates to execute arbitrary code on KVM hosts. This can compromise resource integrity and confidentiality, cause data loss, denial of service, and impact availability of the KVM-based infrastructure. The Apache Software Foundation recommends upgrading to versions 4. 20.
AI Analysis
Technical Summary
This vulnerability (CWE-94) in Apache CloudStack permits authenticated users to register templates that are downloaded directly to primary storage for KVM instance deployment. Due to missing sanitization of template file names, attackers can craft malicious templates that execute arbitrary code on KVM hosts, potentially compromising the underlying infrastructure. Affected versions include 4.11.0 through 4.21.0.0. The vendor advises upgrading to fixed versions 4.20.3.0 or 4.22.0.1 or later.
Potential Impact
Successful exploitation allows arbitrary code execution on KVM hosts managed by CloudStack, leading to compromise of resource integrity and confidentiality, potential data loss, denial of service, and disruption of availability of the KVM-based infrastructure.
Mitigation Recommendations
Users should upgrade Apache CloudStack to version 4.20.3.0, 4.22.0.1, or later, as these versions contain fixes for this vulnerability. No other mitigation or temporary workaround is specified. Patch status is confirmed by the vendor advisory recommending these upgrades.
CVE-2026-25077: CWE-94 Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation Apache CloudStack
Description
CVE-2026-25077 is a code injection vulnerability in Apache CloudStack affecting versions 4. 11. 0 through 4. 21. 0. 0. It arises because account users can register templates for deployment on KVM hypervisors without proper file name sanitization, allowing malicious templates to execute arbitrary code on KVM hosts. This can compromise resource integrity and confidentiality, cause data loss, denial of service, and impact availability of the KVM-based infrastructure. The Apache Software Foundation recommends upgrading to versions 4. 20.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-94) in Apache CloudStack permits authenticated users to register templates that are downloaded directly to primary storage for KVM instance deployment. Due to missing sanitization of template file names, attackers can craft malicious templates that execute arbitrary code on KVM hosts, potentially compromising the underlying infrastructure. Affected versions include 4.11.0 through 4.21.0.0. The vendor advises upgrading to fixed versions 4.20.3.0 or 4.22.0.1 or later.
Potential Impact
Successful exploitation allows arbitrary code execution on KVM hosts managed by CloudStack, leading to compromise of resource integrity and confidentiality, potential data loss, denial of service, and disruption of availability of the KVM-based infrastructure.
Mitigation Recommendations
Users should upgrade Apache CloudStack to version 4.20.3.0, 4.22.0.1, or later, as these versions contain fixes for this vulnerability. No other mitigation or temporary workaround is specified. Patch status is confirmed by the vendor advisory recommending these upgrades.
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: 5/8/2026, 12:51:31 PM
Last enriched: 5/8/2026, 1:06:48 PM
Last updated: 5/8/2026, 2:08:33 PM
Views: 3
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.
External Links
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.