{"answers":{"affected":"3 open source packages ship an affected version, including org.keycloak:keycloak-services and keycloak. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-4282 in the wild and no public exploit code.","fix":"Upgrade org.keycloak:keycloak-services to 26.5.7 or later.","what":"CVE-2026-4282 is a high-severity vulnerability in Redhat Build of Keycloak, published on 2 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-4282 and fix it if it is affected.\n\nWhat it is: CVE-2026-4282 is a high-severity vulnerability in Redhat Build of Keycloak, published on 2 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-4282 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 26.5.7\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 26.5.7\n- keycloak (Bitnami): affected from 26.2.0; fixed in 26.2.1, 26.3.0, 26.4.1, 26.5.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-4282/ (Markdown: https://insights.sbomify.com/CVE-2026-4282/index.md)","id":"CVE-2026-4282","markdown":"https://insights.sbomify.com/CVE-2026-4282/index.md","name":"CVE-2026-4282","record":{"aliases":["BIT-keycloak-2026-4282","ECHO-dc8f-bece-24e2","GHSA-hj93-h7pg-fh6v","MINI-9ph4-r6j2-xvr9","MINI-c6q8-w27x-hx4v"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Keycloak identity server","requires_auth":"none","summary":"Unauthenticated attackers can forge authorization codes to obtain admin tokens, leading to privilege escalation in Keycloak.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"build_of_keycloak","vendor":"redhat"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-653","name":"Improper Isolation or Compartmentalization"}],"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.","ecosystems":["Bitnami","Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-08-09","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-09T13:13:13Z","kind":"github_poc","ref":"https://github.com/hex0user/CVE-2026-4282-Scanner","stars":3,"title":"Non-intrusive version-based vulnerability scanner for CVE-2026-4282 (Keycloak SingleUseObjectProvider isolation flaw enabling authorization code forgery \u0026 privilege escalation)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Keycloak: keycloak: privilege escalation via forged authorization codes due to singleuseobjectprovider isolation flaw","id":"CVE-2026-4282","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"redhat:build_of_keycloak","products":["redhat:build_of_keycloak"],"type":"privilege_escalation","year":"2026"},"n_packages":3,"n_references":6,"next":{"headline":"WP DSGVO Tools (GDPR) \u003c= 3.1.38 - Missing Authorization to Unauthenticated Account Destruction of Non-Admin Users","id":"CVE-2026-4283"},"packages":[{"ecosystem":"Bitnami","fixed":["26.2.1","26.3.0","26.4.1","26.5.0"],"introduced":["26.2.0","26.2.15","26.4.0","26.4.11"],"last_affected":[],"package":"keycloak","purl":"pkg:bitnami/keycloak","source":"BIT-keycloak-2026-4282"},{"ecosystem":"Maven","fixed":["26.5.7"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-hj93-h7pg-fh6v"},{"ecosystem":"Maven","fixed":["26.5.7"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-hj93-h7pg-fh6v"}],"prev":{"headline":"Missing authorization in FormLift for Infusionsoft Web Forms","id":"CVE-2026-4281"},"products":["Red Hat build of Keycloak 26.2","Red Hat build of Keycloak 26.2.15","Red Hat build of Keycloak 26.4","Red Hat build of Keycloak 26.4.11"],"published":"2026-04-02","related":[{"cvss_score":8.8,"headline":"Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation","id":"CVE-2026-15572","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.8,"headline":"Keycloak SAML Broken has Authentication Bypass by Primary Weakness","id":"CVE-2026-3047","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":8.1,"headline":"Keycloak-services: keycloak-services: authorization bypass via unnormalized uri matching in pathmatcher","id":"CVE-2026-15573","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.1,"headline":"Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers","id":"CVE-2026-16102","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.1,"headline":"Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users","id":"CVE-2026-1609","kev_date_added":null,"published":"2026-07-16"},{"cvss_score":8.1,"headline":"Org.keycloak:keycloak-services: keycloak: authentication bypass via jwt algorithm confusion","id":"CVE-2026-11800","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":8.1,"headline":"Keycloak-policy-enforcer: keycloak policy enforcer: authorization bypass via incorrect uri comparison","id":"CVE-2026-9800","kev_date_added":null,"published":"2026-06-25"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["Red Hat"]},"summary":"Unauthenticated attackers can forge authorization codes to obtain admin tokens, leading to privilege escalation in Keycloak.","url":"https://insights.sbomify.com/CVE-2026-4282/"}