{
  "id": "CVE-2026-15572",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-15572",
  "published_at": "2026-08-05T15:09:23.102Z",
  "title": "Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation",
  "vendor": "Red Hat",
  "product": "Red Hat build of Keycloak 26.4",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in Keycloak's Dynamic Client Registration (DCR) security policy management. The \"Allowed Protocol Mapper Types\" policy, which restricts which types of data mappers a client can use, fails to re-validate the mapper type during a client update if the mapper's configuration remains unchanged. An attacker with client registration privileges can exploit this by first registering an allowed mapper type with a malicious configuration and then swapping it for a restricted, high-privilege mapper type (such as one that hardcodes administrative roles). This allows the attacker to gain full administrative access to the Keycloak realm.",
  "cwe": "CWE-843",
  "cpes": [
    "cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.4",
        "ranges": null,
        "fixed_in": [
          "26.4.14-1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.4",
        "ranges": null,
        "fixed_in": [
          "26.4-22"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.4",
        "ranges": null,
        "fixed_in": [
          "26.4-22"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.6",
        "ranges": null,
        "fixed_in": [
          "26.6.5-1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.6",
        "ranges": null,
        "fixed_in": [
          "26.6-11"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.6",
        "ranges": null,
        "fixed_in": [
          "26.6-11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat build of Keycloak 26.4 to 26.4.14-1 or later.",
      "Upgrade Red Hat build of Keycloak 26.4 to 26.4-22 or later.",
      "Upgrade Red Hat build of Keycloak 26.4 to 26.4-22 or later.",
      "Upgrade Red Hat build of Keycloak 26.6 to 26.6.5-1 or later.",
      "Upgrade Red Hat build of Keycloak 26.6 to 26.6-11 or later.",
      "Upgrade Red Hat build of Keycloak 26.6 to 26.6-11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:50846"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:50847"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:50848"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:50849"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
