Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-97848

published medium CVSS 3.1 · 6.5

Keycloak-services: keycloak-services: protocol mapper with jsontype=json bypasses token sanitization

Published
06 Nov 2026, 06:03:03 UTC
Updated
09 Nov 2026, 22:46:20 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.4 · 26.4.17-2 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4 · 26.4-29 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.4 · 26.4-30 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — keycloak-servicesRed Hat build of Keycloak 26.4.17 Unaffected Not required redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4.17 Unaffected Not required redhat
Red Hat — rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.6 · 26.6.8-2 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6 · 26.6-24 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.6 · 26.6-24 and later · Other versions: affected Unaffected Not stated redhat
Show 3 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — keycloak-servicesRed Hat build of Keycloak 26.6.8 Unaffected Not required redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6.8 Unaffected Not required redhat
Red Hat — keycloak-servicesRed Hat Single Sign-On 7 Unaffected Not required redhat

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
redhat · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Red Hat Red Hat build of Keycloak 26.4 26.4.17-2 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.4 26.4-29 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.4 26.4-30 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.4.17 Default: unaffected redhat · cna
Red Hat Red Hat build of Keycloak 26.4.17 Default: unaffected redhat · cna
Red Hat Red Hat build of Keycloak 26.6 26.6.8-2 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.6 26.6-24 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.6 26.6-24 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.6.8 Default: unaffected redhat · cna
Red Hat Red Hat build of Keycloak 26.6.8 Default: unaffected redhat · cna
Red Hat Red Hat Single Sign-On 7 Default: unaffected redhat · cna

Weaknesses

1
  • CWE-20 Improper Input Validation (redhat · cna)

References

6
  • RHSA-2026:95759 https://access.redhat.com/errata/RHSA-2026:95759 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2026:95760 https://access.redhat.com/errata/RHSA-2026:95760 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2026:95761 https://access.redhat.com/errata/RHSA-2026:95761 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2026:95762 https://access.redhat.com/errata/RHSA-2026:95762 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • https://access.redhat.com/security/cve/CVE-2026-97848 vdb-entry, x_refsource_REDHAT Contributors: redhat (cna)
  • RHBZ#2540960 https://bugzilla.redhat.com/show_bug.cgi?id=2540960 issue-tracking, x_refsource_REDHAT Contributors: redhat (cna)

Provider assertions

2

redhat · cna

Keycloak-services: keycloak-services: protocol mapper with jsontype=json bypasses token sanitization

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
dee1358cd31f87f502cbb427e885d3edaea0cd2ca18598437ec273be2842423f
Ingested
09 Nov 2026, 22:53:00 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected