{"id":"CVE-2026-4282","published":"2026-04-02T12:44:52Z","modified":"2026-07-15T00:56:46Z","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","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00564,"percentile":0.47751,"provenance":"source"},"cwes":[{"id":"CWE-653","name":"Improper Isolation or Compartmentalization"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:6475","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6476","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6477","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6478","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-4282","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2448061","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4282.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":19.7,"factors":[{"name":"EPSS percentile","points":9.55},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.18}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-09","earliestUrl":"https://github.com/hex0user/CVE-2026-4282-Scanner","repos":[{"name":"hex0user/CVE-2026-4282-Scanner","url":"https://github.com/hex0user/CVE-2026-4282-Scanner","stars":3,"created":"2026-08-09"}]},"first":{"date":"2026-08-09","source":"PoC-in-GitHub","url":"https://github.com/hex0user/CVE-2026-4282-Scanner"},"provenance":"source"},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-02T14:23:22.750489Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<26.5.7"],"patched":["26.5.7"],"from":["GHSA-hj93-h7pg-fh6v"],"provenance":"source"}],"summary":{"text":"The flaw is in the SingleUseObjectProvider component of Keycloak, as shipped in Red Hat build of Keycloak 26.2, which is a global key-value store that lacks proper type and namespace isolation. An unauthenticated remote attacker can forge authorization codes under high attack complexity with no user interaction required, and successful exploitation can yield admin-capable access tokens and thus privilege escalation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:27Z"},"euvd":{"id":"EUVD-2026-18208","exploited":false,"provenance":"source"}}