{
  "id": "CVE-2026-4282",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-4282",
  "published_at": "2026-04-02T12:44:52.941Z",
  "title": "Keycloak: keycloak: privilege escalation via forged authorization codes due to singleuseobjectprovider isolation flaw",
  "vendor": "Red Hat",
  "product": "Red Hat build of Keycloak 26.2",
  "cvss": {
    "score": 7.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-08-09T13:13:13Z",
    "first_seen_at": "2026-11-14T14:50:35.824Z",
    "days_after_publication": 129,
    "repo": "hex0user/CVE-2026-4282-Scanner",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in Keycloak. The SingleUseObjectProvider, a global key-value store, lacks proper type and namespace isolation. This vulnerability allows an unauthenticated attacker to forge authorization codes. Successful exploitation can lead to the creation of admin-capable access tokens, resulting in privilege escalation.",
  "cwe": "CWE-653",
  "cpes": [
    "cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:text-only:*:*:*",
    "cpe:2.3:a:redhat:build_of_keycloak:26.2.15:*:*:*:text-only:*:*:*",
    "cpe:2.3:a:redhat:build_of_keycloak:26.2:*:*:*:text-only:*:*:*",
    "cpe:2.3:a:redhat:build_of_keycloak:26.4.11:*:*:*:text-only:*:*:*",
    "cpe:2.3:a:redhat:build_of_keycloak:26.4:*:*:*:text-only:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.4
  },
  "repos": [
    {
      "repo": "hex0user/CVE-2026-4282-Scanner",
      "url": "https://github.com/hex0user/CVE-2026-4282-Scanner",
      "created_at": "2026-08-09T13:13:13Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-08-03T19:30:48Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.2",
        "ranges": null,
        "fixed_in": [
          "26.2.15-1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.2",
        "ranges": null,
        "fixed_in": [
          "26.2-18"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.2",
        "ranges": null,
        "fixed_in": [
          "26.2-18"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.4",
        "ranges": null,
        "fixed_in": [
          "26.4.11-1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.4",
        "ranges": null,
        "fixed_in": [
          "26.4-14"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.4",
        "ranges": null,
        "fixed_in": [
          "26.4-14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat build of Keycloak 26.2 to 26.2.15-1 or later.",
      "Upgrade Red Hat build of Keycloak 26.2 to 26.2-18 or later.",
      "Upgrade Red Hat build of Keycloak 26.2 to 26.2-18 or later.",
      "Upgrade Red Hat build of Keycloak 26.4 to 26.4.11-1 or later.",
      "Upgrade Red Hat build of Keycloak 26.4 to 26.4-14 or later.",
      "Upgrade Red Hat build of Keycloak 26.4 to 26.4-14 or later."
    ],
    "workarounds": [
      "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:6475"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:6476"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:6477"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:6478"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/realms/master/.well-known/openid-configuration",
      "protocol": "http",
      "repos": [
        "hex0user/CVE-2026-4282-Scanner"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "hex0user/CVE-2026-4282-Scanner/scanner.py:87"
      ]
    }
  ],
  "rules": []
}
