Skip to content
VulniPulse
Advisory severityUnratedApache Software Foundation

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.

CVE-2025-59302 Source published Source updated

VulniPulse record published

CVE-2025-59302
Affected products & platforms
Apache Software FoundationInfra & Gateways
Open source advisory

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.

Affected versions
  • 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

Fixed versions
  • 4.20.2
  • 4.22.0

Official advisory · medium-confidence parse· fetched 7 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • 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).

Alert me about Apache Infra (APISIX/Traffic Server/CloudStack)
All Apache Software Foundation advisories

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.