# CVE-2025-47849: Apache CloudStack: Insecure access of user's API/Secret Keys in the same domain

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.26%, higher than 70% of CVEs (2026-11-30)
- Published: 2025-06-10T23:07:54.526Z
- Modified: 2026-06-17T09:28:45.210Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache CloudStack: from 4.10.0 before 4.19.3.0; from 4.20.0.0 before 4.20.1.0
- apache cloudstack: from 4.10.0.0 before 4.19.3.0; from 4.20.0.0 before 4.20.1.0

## References

- <https://cloudstack.apache.org/blog/cve-advisories-4.19.3.0-4.20.1.0/> (vendor-advisory)
- <https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-19-3-0-and-4-20-1-0/> (broken-link, third-party-advisory)
- <https://lists.apache.org/thread/y3qnwn59t8qggtdohv7k7vw39bgb3d60> (mailing-list, vendor-advisory)

## Sources

- CVE List: [CVE-2025-47849](https://www.cve.org/CVERecord?id=CVE-2025-47849), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2025-47849](https://nvd.nist.gov/vuln/detail/CVE-2025-47849), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-47849 · Whole record: https://cve.day/CVE-2025-47849.json · Rebuilt by cve.day 2026-11-25T22:58:59.135Z
