Advisory [CVE-2025-59302] Apache CloudStack: Potential remote code execution on Javascript engine defined rules
This Apache Software Foundation security advisory covers CVE-2025-59302 affecting Apache CloudStack.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published
Summary
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.
Is CVE-2025-59302 exploited?
No exploitation is reported in the sources VulniPulse tracks: CVE-2025-59302 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.
How do I fix CVE-2025-59302?
Upgrade to a fixed release named by Apache:
- 4.20.2
- 4.22.0
Confirm against the vendor advisory before you patch.
- Apache CloudStack 4.18.0 before 4.20.2
- Apache CloudStack 4.21.0 before 4.22.0
Official advisory · medium-confidence parse· fetched 7 days ago·verify at source
- 4.20.2
- 4.22.0
Official advisory · medium-confidence parse· fetched 7 days ago·verify at source
Mitigation checklist
- Users are recommended to upgrade to versions 4.20.2 or 4.22.0, which contain the fix.
Official advisory · medium-confidence parse· fetched 7 days ago·verify at source
Get an email when Apache Infra (APISIX/Traffic Server/CloudStack) publishes the next one.
See Apache Infra (APISIX/Traffic Server/CloudStack)'s last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
More Apache Software Foundation advisories
- CVE-2026-59654Aug 21, 2026Missing Release of Resource after Effective Lifetime vulnerability in Apache CloudStack's
- CVE-2026-47359Aug 21, 2026Apache CloudStack command injection
- CVE-2026-50112Aug 21, 2026Apache CloudStack: SSRF via Metalink Mirror URL Resolution: An authenticated tenant
- CVE-2026-50222Aug 21, 2026Apache CloudStack improper access control
- CVE-2026-59085Aug 21, 2026Server-Side Request Forgery (SSRF) vulnerability in Apache CloudStack's webhook module
- CVE-2026-59655Aug 21, 2026Apache CloudStack information disclosure
iPhone and Android apps · New on the App Store
Monitor future Apache Software Foundation CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.