CVE-2026-4282
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceKeycloak's SingleUseObjectProvider, a global key-value store used for storing transient data like authorization codes, lacks proper type and namespace isolation. This allows unauthenticated attackers to manipulate or forge authorization codes, which can then be exchanged for admin-capable access tokens, resulting in complete privilege escalation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE dataall versions= 26.2= 26.2.15= 26.4= 26.4.11CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Keycloak versionRun 'keycloak --version' or check the server startup logs for the version number, or inspect the $KEYCLOAK_HOME/lib/lib/main directory for versioned jar filesAffected if The installed version matches any of: 26.2, 26.2.15, 26.4, 26.4.11, or falls within 26.x series (all versions affected)
-
Verify Keycloak is running with SingleUseObjectProviderConfirm Keycloak service is active and responding. The SingleUseObjectProvider is a built-in internal component used by the server for single-use token storage - if Keycloak is running, this provider is availableAffected if Keycloak is running any affected version listed above
-
Inspect SingleUseObjectProvider for unexpected authorization codesUse Keycloak admin console or API to query the single-use object store. Look for authorization codes with timestamps, issuers, or client associations that appear anomalous or were not created by legitimate authentication flowsAffected if Any authorization codes exist in the store that were not generated by legitimate, expected authentication flows in your environment
-
Audit recent authorization code usage for privilege escalationReview Keycloak authentication event logs for authorization code redemptions that resulted in unexpected privilege escalation, particularly to admin-level roles or realm-management rolesAffected if Event logs show authorization codes that were redeemed to obtain tokens with elevated privileges (admin, realm-management) that were not initiated by known administrator accounts
-
Check for unauthorized admin sessionsReview active admin sessions through the Keycloak admin console or by querying the sessions endpoint. Look for admin sessions originating from unexpected IP addresses, user agents, or created at unusual timesAffected if Active admin sessions exist that cannot be attributed to known, authorized administrators in your organization
A user is affected if running any of the listed Keycloak versions (26.2, 26.2.15, 26.4, 26.4.11) AND unauthorized or forged authorization codes are present in the SingleUseObjectProvider store, or if admin sessions have been created through the bypassed authorization flow.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply vendor patches when released; until then, implement network-level access controls and monitor for anomalous authorization code patterns. Review existing authorization code flows for signs of tampering.
Keycloak 26.4.x or later stable release as specified in Red Hat security advisory (confirm exact version from access.redhat.com)
- 1. Identify the exact Keycloak version currently deployed by checking the server startup logs or the about/version endpoint
- 2. Consult Red Hat's official security advisory for CVE-2026-4282 at access.redhat.com to confirm the specific fixed version number
- 3. Review the Keycloak 26.x release notes at keycloak.org to verify which version contains the fix for SingleUseObjectProvider type/namespace isolation
- 4. Before upgrading in production, test the new version in a staging environment to ensure compatibility with existing workflows and integrations
- 5. Perform a full backup of the Keycloak database and configuration
- 6. Upgrade Keycloak to the fixed version (26.4.x or later stable release as specified in the Red Hat advisory)
- 7. Verify the SingleUseObjectProvider behavior post-upgrade by monitoring authentication flows
- 8. Check Keycloak logs for any authorization code anomalies that might indicate attempted exploitation
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation20.0 h
- Testing12.0 h
- Review / QA6.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $12,288.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-4282 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-4282 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data