CVE-2025-59302 Details
Description
In Apache CloudStack improper control of generation of code ('Code Injection') vulnerability is found in the following APIs which are accessible only to admins. * quotaTariffCreate * quotaTariffUpdate * createSecondaryStorageSelector * updateSecondaryStorageSelector * updateHost * updateStorage This issue affects Apache CloudStack: from 4.18.0 before 4.20.2, from 4.21.0 before 4.22.0. Users are recommended to upgrade to versions 4.20.2 or 4.22.0, which contain the fix. The fix introduces a new global configuration flag, js.interpretation.enabled, allowing administrators to control the interpretation of JavaScript expressions in these APIs, thereby mitigating the code injection risk.
A code injection vulnerability has been identified in Apache CloudStack versions 4.18.0 prior to 4.20.2 and 4.21.0 prior to 4.22.0. This vulnerability, which could lead to remote code execution, arises from improper control over code generation in specific APIs in the management server. The affected APIs, accessible only to administrators, include quotaTariffCreate, quotaTariffUpdate, createSecondaryStorageSelector, updateSecondaryStorageSelector, updateHost, and updateStorage.
Users are advised to upgrade to Apache CloudStack versions 4.20.2 or 4.22.0, which include the necessary fix. The fix introduces a global configuration flag, js.interpretation.enabled, that allows administrators to control the interpretation of JavaScript expressions in the affected APIs, thereby reducing the risk of code injection.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/11/27/2 | CVE | Mailing ListThird Party Advisory |
| https://lists.apache.org/thread/kwwsg2j85f1b75o0ht5zbr34d7h66788 | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache cloudstack | >= 4.18.0.0, < 4.20.2.0 4.21.0.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 2, 2025 | Initial Analysis | [email protected] |
| Nov 28, 2025 | CVE Modified | CISA-ADP |
| Nov 27, 2025 | CVE Modified | CVE |
| Nov 27, 2025 | New CVE Received | [email protected] |