Skip to main content

Cloudstack CVE-2025-59302

MEDIUM
Code Injection (CWE-94)
2025-11-27 security@apache.org
4.7
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
4.7 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Analysis Generated
Mar 28, 2026 - 19:24 vuln.today
CVE Published
Nov 27, 2025 - 12:15 nvd
MEDIUM 4.7

DescriptionCVE.org

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.

AnalysisAI

In Apache CloudStack improper control of generation of code ('Code Injection') vulnerability is found in the following APIs which are accessible only to admins. Rated medium severity (CVSS 4.7), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

Technical ContextAI

This vulnerability is classified as Code Injection (CWE-94), which allows attackers to inject and execute arbitrary code within the application. 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 * updateStorage18.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. Affected products include: Apache Cloudstack. Version information: before 4.20.2.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Never evaluate user-controlled input as code. Use sandboxing, disable dangerous functions, apply strict input validation.

CVE-2024-41107 HIGH POC
8.1 Jul 19

The CloudStack SAML authentication (disabled by default) does not enforce signature check. Rated high severity (CVSS 8.1

CVE-2022-26779 HIGH POC
7.5 Mar 15

Apache CloudStack prior to 4.16.1.0 used insecure random number generation for project invitation tokens. Rated high sev

CVE-2012-4501 CRITICAL
10.0 Oct 26

Citrix Cloud.com CloudStack, and Apache CloudStack pre-release, allows remote attackers to make arbitrary API calls by l

CVE-2015-3252 CRITICAL
9.8 Feb 08

Apache CloudStack before 4.5.2 does not properly preserve VNC passwords when migrating KVM virtual machines, which allow

CVE-2024-50386 CRITICAL
9.9 Nov 12

Account users in Apache CloudStack by default are allowed to register templates to be downloaded directly to the primary

CVE-2024-39864 CRITICAL
9.8 Jul 05

The CloudStack integration API service allows running its unauthenticated API server (usually on port 8096 when configur

CVE-2024-38346 CRITICAL
9.8 Jul 05

The CloudStack cluster service runs on unauthenticated port (default 9090) that can be misused to run arbitrary commands

CVE-2024-29006 CRITICAL
9.8 Apr 04

By default the CloudStack management server honours the x-forwarded-for HTTP header and logs it as the source IP of an A

CVE-2022-35741 CRITICAL
9.8 Jul 18

Apache CloudStack version 4.5.0 and later has a SAML 2.0 authentication Service Provider plugin which is found to be vul

CVE-2025-47849 HIGH
8.8 Jun 10

A privilege escalation vulnerability in Apache CloudStack (CVSS 8.8) that allows the attacker. High severity vulnerabili

CVE-2025-47713 HIGH
8.8 Jun 10

A privilege escalation vulnerability in Apache CloudStack (CVSS 8.8) that allows the attacker. High severity vulnerabili

CVE-2024-45693 HIGH
8.8 Oct 16

Users logged into the Apache CloudStack's web interface can be tricked to submit malicious CSRF requests due to missing

Share

CVE-2025-59302 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy