High severity · published Jun 10, 2025
CVE-2025-47849
Apache CloudStack: Insecure access of user's API/Secret Keys in the same domain
8.8
CVSS
0.6%
EPSS
No
On KEV
Description
A privilege escalation vulnerability exists in Apache CloudStack versions 4.10.0.0 through 4.20.0.0 where a malicious Domain Admin user in the ROOT domain can get the API key and secret key of user-accounts of Admin role type in the same domain. This operation is not appropriately restricted and allows the attacker to assume control over higher-privileged user-accounts. A malicious Domain Admin attacker can impersonate an Admin user-account and gain access to sensitive APIs and resources that could result in the compromise of resource integrity and confidentiality, data loss, denial of service, and availability of infrastructure managed by CloudStack. Users are recommended to upgrade to Apache CloudStack 4.19.3.0 or 4.20.1.0, which fixes the issue with the following: * Strict validation on Role Type hierarchy: the caller's role must be equal to or higher than the target user's role.  * API privilege comparison: the caller must possess all privileges of the user they are operating on.  * Two new domain-level settings (restricted to the default admin):   - role.types.allowed.for.operations.on.accounts.of.same.role.type: Defines which role types are allowed to act on users of the same role type. Default: "Admin, DomainAdmin, ResourceAdmin".   - allow.operations.on.users.in.same.account: Allows/disallows user operations within the same account. Default: true.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AC
Apache CloudStack · Apache Software Foundation
4.10.0 before 4.19.3.0; 4.20.0.0 before 4.20.1.0 · source: vendor
CL
Cloudstack · Apache
4.10.0.0 before 4.19.3.0; 4.20.0.0 before 4.20.1.0 · source: NVD
Affected product
AC
Apache CloudStack
Apache Software Foundation
More from Apache CloudStack
9.9
CVE-2024-50386
Apache CloudStack: Directly downloaded templates can be used to abuse KVM-based infrastructure
9.1
CVE-2026-59085
Apache CloudStack: Server-Side Request Forgery (SSRF) vulnerability in webhook module
9.1
CVE-2026-61398
Apache CloudStack: Cross-Site Scripting (XSS) Vulnerability in Instance Reset Password Function in UI
9.1
CVE-2026-62440
Apache CloudStack: Improper access control in Kubernetes Service (CKS) cluster manipulation
9.1
CVE-2026-25199
Apache CloudStack: Proxmox Extension Allows Unauthorized Cross-Tenant Instance Access