Home / Apache Software Foundation / Apache CloudStack / CVE-2025-59302
CVE-2025-59302: is it exploited, and which versions of Apache Software Foundation Apache CloudStack are affected and fixed?
CVE-2025-59302 is a code injection (remote code execution) vulnerability in Apache Software Foundation Apache CloudStack. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: Apache CloudStack from 4.18.0 before 4.20.2 and Apache CloudStack from 4.21.0 before 4.22.0 (CVE record by apache). Fixed in 4.20.2 and 4.22.0 (CVE record by apache). Severity: Medium (4.7, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-59302?
Apache CloudStack: Potential remote code execution on Javascript engine defined rules
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.
From the CVE record by apache, last updated November 3, 2026, 22:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache CloudStack | from 4.18.0 before 4.20.2 from 4.21.0 before 4.22.0 | 4.20.2, 4.22.0 |
As the CVE record by apache states it, last updated November 3, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | cloudstack | from 4.18.0.0 before 4.20.2.0 | application |
| apache | cloudstack | 4.21.0.0 | application |
NVD analysis (status Analyzed), last modified October 18, 2026, 20:10 UTC.
How severe is CVE-2025-59302?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-59302 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, December 2, 2025)
- EPSS
- 0.49% probability of exploitation activity in the next 30 days, percentile 43.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://lists.apache.org/thread/kwwsg2j85f1b75o0ht5zbr34d7h66788 vendor-advisory
- http://www.openwall.com/lists/oss-security/2025/11/27/2
Who found and reported it?
- Tianyi Cheng (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 12, 2025
- Published
- November 27, 2025, 11:46 UTC
- CVE record updated
- November 3, 2026, 22:03 UTC by apache
- NVD
- Analyzed, last modified October 18, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache CloudStack?
- Aug 21, 2026CVE-2026-59654 Apache Software Foundation Apache CloudStack: resource not released after use
- Aug 21, 2026CVE-2026-47359 Apache Software Foundation Apache CloudStack: OS command injection
- Aug 21, 2026CVE-2026-50112 Apache Software Foundation Apache CloudStack: OS command injection
- Aug 21, 2026CVE-2026-50222 Apache Software Foundation Apache CloudStack: missing authorization
- Aug 21, 2026CVE-2026-59085 Apache Software Foundation Apache CloudStack: server-side request forgery (SSRF)
- Aug 21, 2026CVE-2026-59655 Apache Software Foundation Apache CloudStack: information disclosure
- Aug 21, 2026CVE-2026-59657 Apache Software Foundation Apache CloudStack: sensitive data stored in clear text
- Aug 21, 2026CVE-2026-59780 Apache Software Foundation Apache CloudStack: information disclosure
Every CVE in Apache CloudStack
Questions about CVE-2025-59302
Is CVE-2025-59302 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.49% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache CloudStack are affected by CVE-2025-59302?
Apache CloudStack from 4.18.0 before 4.20.2 and Apache CloudStack from 4.21.0 before 4.22.0, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2025-59302?
4.20.2 and 4.22.0, per the CVE record by apache. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-59302?
Medium (4.7, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-59302?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.