Skip to content
Heist/ feed
Back to feed
High

Apache CloudStack: Insecure access of user's API/Secret Keys in the same domain

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-47849
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:48 UTC · Revision 1

Source evidence

Apache CloudStack: Insecure access of user's API/Secret Keys in the same domain

core-osv · Original source

Published 10 Jun 2025, 23:07 UTC

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.

osv:CVE-2025-47849
Complete source record
{
  "id": "d57bee40acaad2bcd3c9fd5287480be0e6876e060f9e27b1d15cb0271e295be8",
  "url": "https://osv.dev/vulnerability/CVE-2025-47849",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache CloudStack: Insecure access of user's API/Secret Keys in the same domain",
    "summary": "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.",
    "evidence": "osv:CVE-2025-47849",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-47849",
      "aliases": [
        "CVE-2025-47849"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/cloudstack",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9d2893d44a3c3a4829be0964cc991272c1d13e4d"
                },
                {
                  "fixed": "0c7d47138d448ef7d6b449b3401f2575bd795e57"
                },
                {
                  "introduced": "2fe3fcef7c77cf9a1b629c9df3afc0cdb88ad4f6"
                },
                {
                  "fixed": "c61a5eb430a8ced2b10d7cec9948a8704c2c52ac"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.10.0.0"
                      },
                      {
                        "fixed": "4.19.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.20.0.0"
                      },
                      {
                        "fixed": "4.20.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.20.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47849.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.462468743Z",
      "provider": "osv",
      "references": [
        "https://cloudstack.apache.org/blog/cve-advisories-4.19.3.0-4.20.1.0/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47849.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-47849",
        "https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-19-3-0-and-4-20-1-0/",
        "https://lists.apache.org/thread/y3qnwn59t8qggtdohv7k7vw39bgb3d60"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-269"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.10.0"
                  },
                  {
                    "fixed": "4.19.3.0"
                  },
                  {
                    "introduced": "4.20.0.0"
                  },
                  {
                    "fixed": "4.20.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47849.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-47849",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504909,
  "published_at": "2025-06-10T23:07:54.526+00:00"
}