# CVE-2026-92857: Keycloak-services: keycloak-services: dcr protocol mapper config not validated, allowing iat holders to forge sub and aud claims in signed tokens

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.52% (percentile 38, 2026-11-26)
- **CWE:** CWE-20
- **Published:** 2026-11-05T17:15:24.374Z
- **Modified:** 2026-11-19T21:28:51.652Z

## Who should check

- Anyone running Red Hat build of Keycloak 26.4 all versions
- Anyone running Red Hat build of Keycloak 26.4.17 (versions: see the vendor advisory)
- Anyone running Red Hat build of Keycloak 26.6 all versions
- Anyone running Red Hat build of Keycloak 26.6.8 (versions: see the vendor advisory)
- Anyone running Red Hat Single Sign-On 7 (versions: see the vendor advisory)

## Description

Keycloak provides a Dynamic Client Registration feature that allows users with specific tokens to register their own applications. A flaw in how Keycloak validates these registration requests allows an attacker to create a malicious application that forges identity information. By mapping their own user profile details to protected fields like the user ID (sub) or intended audience (aud), an attacker can generate signed security tokens that make them appear to be a different user. This could allow an attacker to impersonate other users or gain unauthorized access to services that rely on these tokens for identity verification.

## Affected and fixed versions

- Red Hat build of Keycloak 26.4: all versions (cvelist)
- Red Hat build of Keycloak 26.4: all versions (cvelist)
- Red Hat build of Keycloak 26.4: all versions (cvelist)
- Red Hat build of Keycloak 26.4.17: see vendor advisory (cvelist)
- Red Hat build of Keycloak 26.4.17: see vendor advisory (cvelist)
- Red Hat build of Keycloak 26.4.17: see vendor advisory (cvelist)
- Red Hat build of Keycloak 26.6: all versions (cvelist)
- Red Hat build of Keycloak 26.6: all versions (cvelist)
- Red Hat build of Keycloak 26.6: all versions (cvelist)
- Red Hat build of Keycloak 26.6.8: see vendor advisory (cvelist)
- Red Hat build of Keycloak 26.6.8: see vendor advisory (cvelist)
- Red Hat build of Keycloak 26.6.8: see vendor advisory (cvelist)
- Red Hat Single Sign-On 7: see vendor advisory (cvelist)

## Mitigation

- Vendor workaround: 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.
- 
- --- CME Mitigation Guidance (2026-11-06) ---
- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.
- 
- The highest-value action is to validate protocol mapper claim.name configurations during Dynamic Client Registration to deny mapping to reserved identity claims: upgrade to Red Hat build of Keycloak 26.4.17, 26.6.8 (or the corresponding fixed Red Hat builds), which validate and reject protocol mapper configurations in Dynamic Client Registration that assign reserved claims to claim.name, closing all 2 injection vectors (Dynamic Client Registration protocol mapper configuration mapping user profile attributes to the sub claim, Dynamic Client Registration protocol mapper configuration mapping user profile attributes to the aud claim). Until patched, this is a concern on Keycloak deployments enabling Dynamic Client Registration where users possess an Initial Access Token and editable realm profile attributes, so restrict issuance of Initial Access Tokens, monitor new client registrations, and restrict user capabilities to edit profile attributes. As a compensating measure, detect unauthorized Dynamic Client Registration creations and protocol mapper changes by alerting on configuration drift against declared realm baselines and log Dynamic Client Registration events and mapper configurations to a SIEM to identify unauthorized clients mapping reserved token claims. These controls limit blast radius and contain exploitation, but they do not fix the underlying unvalidated protocol mapper claim.name defect — apply the upstream patch to fully remediate.
- 
- Highest-impact CME: CME-1315 Allowlist-Preferred Input Validation (Deny-by-Default Filtering) (high)

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-92857. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-92857.md
Affected: Red Hat build of Keycloak 26.4 all versions; Red Hat build of Keycloak 26.4 all versions; Red Hat build of Keycloak 26.4 all versions; Red Hat build of Keycloak 26.4.17; Red Hat build of Keycloak 26.4.17; Red Hat build of Keycloak 26.4.17; Red Hat build of Keycloak 26.6 all versions; Red Hat build …
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Red Hat build of Keycloak 26.4, Red Hat build of Keycloak 26.4.17, Red Hat build of Keycloak 26.6, Red Hat build of Keycloak 26.6.8, Red Hat Single Sign-On 7: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-92857 being exploited?

There is no confirmed exploitation: CVE-2026-92857 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-92857?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-92857?

Red Hat build of Keycloak 26.4 all versions; Red Hat build of Keycloak 26.4 all versions; Red Hat build of Keycloak 26.4 all versions; Red Hat build of Keycloak 26.4.17; Red Hat build of Keycloak 26.4.17; Red Hat build of Keycloak 26.4.17; Red Hat build of Keycloak 26.6 all versions; Red Hat build of Keycloak 26.6 all versions; Red Hat build of Keycloak 26.6 all versions; Red Hat build of Keycloak 26.6.8; Red Hat build of Keycloak 26.6.8; Red Hat build of Keycloak 26.6.8; Red Hat Single Sign-On 7.

### Is there a fix for CVE-2026-92857?

No fixed version is listed in the sources yet. Vendor workaround: 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.  --- CME Mitigation Guidance (2026-11-06) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.  The highest-value action is to validate protocol mapper claim.name configurations during Dynamic Client Registration to deny mapping to reserved identity claims: upgrade to Red Hat build of Keycloak 26.4.17, 26.6.8 (or the corresponding fixed Red Hat builds), which validate and reject protocol mapper configurations in Dynamic Client Registration that assign reserved claims to claim.name, closing all 2 injection vectors (Dynamic Client Registration protocol mapper configuration mapping user profile attributes to the sub claim, Dynamic Client Registration protocol mapper configuration mapping user profile attributes to the aud claim). Until patched, this is a concern on Keycloak deployments enabling Dynamic Client Registration where users possess an Initial Access Token and editable realm profile attributes, so restrict issuance of Initial Access Tokens, monitor new client registrations, and restrict user capabilities to edit profile attributes. As a compensating measure, detect unauthorized Dynamic Client Registration creations and protocol mapper changes by alerting on configuration drift against declared realm baselines and log Dynamic Client Registration events and mapper configurations to a SIEM to identify unauthorized clients mapping reserved token claims. These controls limit blast radius and contain exploitation, but they do not fix the underlying unvalidated protocol mapper claim.name defect — apply the upstream patch to fully remediate.  Highest-impact CME: CME-1315 Allowlist-Preferred Input Validation (Deny-by-Default Filtering) (high)

### How do I check if I'm affected by CVE-2026-92857?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:95759>
- vendor: <https://access.redhat.com/errata/RHSA-2026:95760>
- vendor: <https://access.redhat.com/errata/RHSA-2026:95761>
- vendor: <https://access.redhat.com/errata/RHSA-2026:95762>
- other: <https://access.redhat.com/security/cve/CVE-2026-92857>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2535817>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-92857>

HTML: <https://flawdb.com/CVE-2026-92857> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-92857>
