CVE-2025-59302
CVE-2025-59302 is a medium-severity vulnerability in Apache Cloudstack with a CVSS 3.x base score of 4.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: Medium (CVSS 3.x base score 4.7)
- EPSS exploit prediction: 0% (32nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-199820
- Weakness: CWE-94
- Affected product: Apache Cloudstack
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2025-59302?
- 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.
- How severe is CVE-2025-59302?
- CVE-2025-59302 has a CVSS 3.x base score of 4.7, rated medium severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2025-59302 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (32nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-59302?
- CVE-2025-59302 primarily affects Apache Cloudstack. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-59302?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-59302 have an EU (EUVD) identifier?
- Yes. CVE-2025-59302 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-199820.
- When was CVE-2025-59302 published?
- CVE-2025-59302 was published on 2025-11-27 and last updated on 2026-06-17.
References
- https://lists.apache.org/thread/kwwsg2j85f1b75o0ht5zbr34d7h66788
- http://www.openwall.com/lists/oss-security/2025/11/27/2
Affected products (2)
- cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*
- cpe:2.3:a:apache:cloudstack:4.21.0.0:*:*:*:*:*:*:*
More vulnerabilities in Apache Cloudstack
- CVE-2012-4501 — Critical (CVSS 10.0): Citrix Cloud.com CloudStack, and Apache CloudStack pre-release, allows remote attackers to make arbitrary API calls by…
- CVE-2024-39864 — Critical (CVSS 9.8): The CloudStack integration API service allows running its unauthenticated API server (usually on port 8096 when…
- CVE-2024-38346 — Critical (CVSS 9.8): The CloudStack cluster service runs on unauthenticated port (default 9090) that can be misused to run arbitrary…
- CVE-2024-29006 — Critical (CVSS 9.8): By default the CloudStack management server honours the x-forwarded-for HTTP header and logs it as the source IP of an…
- CVE-2022-35741 — Critical (CVSS 9.8): Apache CloudStack version 4.5.0 and later has a SAML 2.0 authentication Service Provider plugin which is found to be…
- CVE-2019-17562 — Critical (CVSS 9.8): A buffer overflow vulnerability has been found in the baremetal component of Apache CloudStack. This applies to all…
All CVEs affecting Apache Cloudstack →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.