Keycloak-services: keycloak-services: protocol mapper with jsontype=json bypasses token sanitization
Products / packages Red Hat build of Keycloak 26.4 · Red Hat build of Keycloak 26.4.17 · Red Hat build of Keycloak 26.6 · 2 more
Published
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NSeverity
medium6.5CVSS measures technical severity, not the likelihood of an attack.
Known exploitation
Not listed in the checked CISA KEV catalog
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Source guidance available
Review the recorded instructions. Guidance may be a workaround rather than a fixed version.
What this means
A flaw in Keycloak's token sanitization logic allows an attacker to inject forged client roles into security tokens when a protocol mapper is configured to emit structured claims using the JSON type. The issue affects Red Hat build of Keycloak, but the exact affected versions are unclear. This could lead to unauthorized access to protected resources.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Attack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Red Hat · redhat
Red Hat build of Keycloak 26.4
1 range
Red Hat · redhat
Red Hat build of Keycloak 26.4
Compare with this publisher’s ranges. This does not inspect your installation.
unaffected
26.4.17-2 → before *
rpm versions
Other versions: affected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:26.4::el9Red Hat · redhat
Red Hat build of Keycloak 26.4
1 range
Red Hat · redhat
Red Hat build of Keycloak 26.4
Compare with this publisher’s ranges. This does not inspect your installation.
unaffected
26.4-29 → before *
rpm versions
Other versions: affected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:26.4::el9Red Hat · redhat
Red Hat build of Keycloak 26.4
1 range
Red Hat · redhat
Red Hat build of Keycloak 26.4
Compare with this publisher’s ranges. This does not inspect your installation.
unaffected
26.4-30 → before *
rpm versions
Other versions: affected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:26.4::el9Red Hat · redhat
Red Hat build of Keycloak 26.4.17
0 ranges
Red Hat · redhat
Red Hat build of Keycloak 26.4.17
Compare with this publisher’s ranges. This does not inspect your installation.
Other versions: unaffected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:26.4::el9Red Hat · redhat
Red Hat build of Keycloak 26.4.17
0 ranges
Red Hat · redhat
Red Hat build of Keycloak 26.4.17
Compare with this publisher’s ranges. This does not inspect your installation.
Other versions: unaffected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:26.4::el9Red Hat · redhat
Red Hat build of Keycloak 26.6
1 range
Red Hat · redhat
Red Hat build of Keycloak 26.6
Compare with this publisher’s ranges. This does not inspect your installation.
unaffected
26.6.8-2 → before *
rpm versions
Other versions: affected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:26.6::el9Red Hat · redhat
Red Hat build of Keycloak 26.6
1 range
Red Hat · redhat
Red Hat build of Keycloak 26.6
Compare with this publisher’s ranges. This does not inspect your installation.
unaffected
26.6-24 → before *
rpm versions
Other versions: affected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:26.6::el9Red Hat · redhat
Red Hat build of Keycloak 26.6
1 range
Red Hat · redhat
Red Hat build of Keycloak 26.6
Compare with this publisher’s ranges. This does not inspect your installation.
unaffected
26.6-24 → before *
rpm versions
Other versions: affected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:26.6::el9Red Hat · redhat
Red Hat build of Keycloak 26.6.8
0 ranges
Red Hat · redhat
Red Hat build of Keycloak 26.6.8
Compare with this publisher’s ranges. This does not inspect your installation.
Other versions: unaffected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:26.6::el9Red Hat · redhat
Red Hat build of Keycloak 26.6.8
0 ranges
Red Hat · redhat
Red Hat build of Keycloak 26.6.8
Compare with this publisher’s ranges. This does not inspect your installation.
Other versions: unaffected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:26.6::el9Red Hat · redhat
Red Hat Single Sign-On 7
0 ranges
Red Hat · redhat
Red Hat Single Sign-On 7
Compare with this publisher’s ranges. This does not inspect your installation.
Other versions: unaffected
Product identifiers (CPE)
cpe:/a:redhat:red_hat_single_sign_on:7What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
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.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
A flaw was found in the token sanitization logic of Keycloak, an open source identity and access management solution. The issue occurs when a protocol mapper is configured to emit structured claims using the JSON type. The security check designed to remove unauthorized role mappings only looks for standard Java maps and fails to recognize Jackson based JSON objects. This allows an attacker to inject forged client roles into security tokens, which could lead to unauthorized access to protected resources.
References
6 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-97848View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 2
Assigning organization
Additional data publisher
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changes- CVE · CVE-2026-97848
Observed 2026-11-09T22:52:09.219Z · upstream updated 2026-11-09T22:46:20.840Z
Prioritization updated
before
[]
after
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-09T22:34:26.725495Z", "decisions": [ { "name": "Exploitation", "value": "none" }, { "name": "Automatable", "value": "no" }, { "name": "Technical Impact", "value": "partial" } ] } ] - CVE · CVE-2026-97848
Observed 2026-11-06T17:56:51.110Z · upstream updated 2026-11-06T17:33:04.401Z
Product or version evidence changed
before
[ { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4", "platforms": [], "versions": [ { "version": "26.4-29", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4", "platforms": [], "versions": [ { "version": "26.4.17-2", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4", "platforms": [], "versions": [ { "version": "26.4-30", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.6.8", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.6::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.6.8", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.6::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat Single Sign-On 7", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:red_hat_single_sign_on:7" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" } ]after
[ { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4", "platforms": [], "versions": [ { "version": "26.4.17-2", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4", "platforms": [], "versions": [ { "version": "26.4-29", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4", "platforms": [], "versions": [ { "version": "26.4-30", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4.17", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4.17", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.6", "platforms": [], "versions": [ { "version": "26.6.8-2", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.6::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.6", "platforms": [], "versions": [ { "version": "26.6-24", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.6::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.6", "platforms": [], "versions": [ { "version": "26.6-24", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.6::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.6.8", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.6::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.6.8", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.6::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat Single Sign-On 7", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:red_hat_single_sign_on:7" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" } ]References changed
before
[ "https://access.redhat.com/errata/RHSA-2026:95760", "https://access.redhat.com/errata/RHSA-2026:95761", "https://access.redhat.com/security/cve/CVE-2026-97848", "https://bugzilla.redhat.com/show_bug.cgi?id=2540960" ]
after
[ "https://access.redhat.com/errata/RHSA-2026:95759", "https://access.redhat.com/errata/RHSA-2026:95760", "https://access.redhat.com/errata/RHSA-2026:95761", "https://access.redhat.com/errata/RHSA-2026:95762", "https://access.redhat.com/security/cve/CVE-2026-97848", "https://bugzilla.redhat.com/show_bug.cgi?id=2540960" ]
- CVE · CVE-2026-97848
Observed 2026-11-06T10:52:03.127Z · upstream updated 2026-11-06T10:27:54.142Z
Product or version evidence changed
before
[ { "vendor": "Red Hat", "name": "Red Hat Build of Keycloak", "platforms": [], "versions": [], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat Build of Keycloak", "platforms": [], "versions": [], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat Single Sign-On 7", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:red_hat_single_sign_on:7" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" } ]after
[ { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4", "platforms": [], "versions": [ { "version": "26.4-29", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4", "platforms": [], "versions": [ { "version": "26.4.17-2", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.4", "platforms": [], "versions": [ { "version": "26.4-30", "status": "unaffected", "lessThan": "*", "versionType": "rpm" } ], "defaultStatus": "affected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.4::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.6.8", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.6::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat build of Keycloak 26.6.8", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:build_keycloak:26.6::el9" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" }, { "vendor": "Red Hat", "name": "Red Hat Single Sign-On 7", "platforms": [], "versions": [], "defaultStatus": "unaffected", "cpes": [ "cpe:/a:redhat:red_hat_single_sign_on:7" ], "source": "redhat", "url": "https://www.cve.org/CVERecord?id=CVE-2026-97848" } ]References changed
before
[ "https://access.redhat.com/security/cve/CVE-2026-97848", "https://bugzilla.redhat.com/show_bug.cgi?id=2540960" ]
after
[ "https://access.redhat.com/errata/RHSA-2026:95760", "https://access.redhat.com/errata/RHSA-2026:95761", "https://access.redhat.com/security/cve/CVE-2026-97848", "https://bugzilla.redhat.com/show_bug.cgi?id=2540960" ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.