CVE-2025-59302: medium-severity vulnerability in Apache CloudStack
Apache CloudStack: Potential remote code execution on Javascript engine defined rules
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 4.7epss 0.5%
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.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Affected products
Apache Software Foundation · Apache CloudStackRelated CVEs — Apache CloudStack
In the same product, most dangerous first.
CVE-2024-41107HIGHApache CloudStack: SAML Signature ExclusionEPSS 17.8%CVE-2022-35741—Apache CloudStack SAML Single Sign-On XXEEPSS 8.0%CVE-2016-6813—CVE-2016-6813EPSS 5.6%CVE-2024-38346CRITICALApache CloudStack: Unauthenticated cluster service port leads to remote executionEPSS 3.3%CVE-2026-61400HIGHApache CloudStack: Get and Run Diagnostics Command InjectionEPSS 2.9%CVE-2022-26779—Apache Cloudstack insecure random number generation affects project email invitationEPSS 2.9%