CVE-2025-59302: Apache CloudStack: Potential remote code execution on Javascript engine defined rules

Published Nov 27, 2025
·
Updated

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.

Affected Software

3 affected components
Apache CloudStack>=4.18.0<4.20.2, >=4.21.0<4.22.0
Apache CloudStack>=4.18.0.0<4.20.2.0
Apache CloudStack=4.21.0.0

Event History

Nov 27, 2025
CVE Published
via MITRE·11:46 AM
Data Sourced
via MITRE·11:46 AM
DescriptionWeakness
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-59302?

CVE-2025-59302 is classified as a critical vulnerability due to its potential for code injection in admin-accessible APIs.

2

How do I fix CVE-2025-59302?

To fix CVE-2025-59302, update Apache CloudStack to version 4.22.0 or later, or apply the necessary security patches provided by the Apache team.

3

What versions of Apache CloudStack are affected by CVE-2025-59302?

CVE-2025-59302 affects Apache CloudStack versions from 4.18.0 to 4.20.2 and the 4.21.0 version.

4

What APIs are impacted by CVE-2025-59302?

CVE-2025-59302 impacts the following APIs: quotaTariffCreate, quotaTariffUpdate, createSecondaryStorageSelector, and updateSecondaryStorageSelector.

5

Who is at risk from CVE-2025-59302?

Admin users of Apache CloudStack are at risk from CVE-2025-59302 due to improper control allowing code generation through vulnerable APIs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203