Back to the CVE list
CVE-2026-97848

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

CVSS score

6.5

EPSS probability

%0.3

Risk score

0.0

Published

1 d ago

Patch status has not yet been verified

Resmî kaynaklarda yeterli kanıt bulunamadı. Bu sonuç “yama yok” anlamına gelmez.

Impact on My Inventory

Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.

Checking session…

Vulnerability description

DayBreach AI Explanation

Verified against sources

Keycloak token sanitization bypass (CVE-2026-97848)

Sources read

1

Source agreement

Tam uyum

Evidence confidence

%55

Short explanation

Keycloak's protocol mapper can bypass token sanitization when configured with JSON type, allowing forged client roles to be injected and granting unauthorized access to protected resources. Affected products are Red Hat Build of Keycloak and Red Hat Single Sign-On 7. No active exploitation reported; patch status is unknown.

Why does it matter?

Forged roles undermine authentication, creating a risk of unauthorized access to critical services.

What should be done?

  • Monitor Red Hat security advisories
  • Apply patches when released
  • Temporarily disable the JSON‑type protocol mapper or avoid using it
  • Enforce strict role‑mapping controls
  • Monitor tokens for anomalous role claims
Chain of evidence and sources3 verified claims

Bu güvenlik açığı, protokol eşleyicisi JSON tipinde yapılandırıldığında token sanitizasyonunu atlayarak sahte istemci rolleri eklenmesine izin verir (S0, S1).

CVE‑2026‑97848 için CISA KEV listesinde aktif istismar raporlanmamıştır (S0).

Yama durumu "UNKNOWN" olarak belirtilmiştir; resmi kaynaklarda yama doğrulanamamıştır (S0).

Show the technical text from the sources

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.

CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

CWE: CWE-20

This explanation was compiled automatically from the source records. Scores, active exploitation, patch and exploit status come straight from the sources.

IMPACT: Affected Products and Software

Affected Products

The following products are affected by CVE-2026-97848 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.

IDVENDORPRODUCTACTION
1Red HatRed Hat build of Keycloak 26.4 View
2Red HatRed Hat build of Keycloak 26.4 View
3Red HatRed Hat build of Keycloak 26.4 View
4Red HatRed Hat build of Keycloak 26.4.17 View
5Red HatRed Hat build of Keycloak 26.6 View
6Red HatRed Hat build of Keycloak 26.6 View
7Red HatRed Hat build of Keycloak 26.6.8 View
8Red HatRed Hat Single Sign-On 7 View
Total affected vendors: 1|Products: 8

RED HAT CSAF/VEX: Product Impact Check

Red Hat has not yet published a CSAF/VEX impact record for this CVE. This does not mean “not affected”.

SCORING: CVSS from Multiple Sources

CVSS Scores

The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.

SCOREVERSIONSEVERITYVECTORSOURCE
6.5CVSS V3_1MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NCVE CNA
6.5CVSS V31MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NNVD

Patch and Remediation Guide

Solution & Remediation Advisory

Patch status unknown

İncelenen resmî kaynaklarda yama durumu doğrulanamadı. Bu sonuç “yama yok” anlamına gelmez.

Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Until a patch is confirmed, follow the vendor advisory; do not read an unknown status as “no patch”.
Monitor server logs and network endpoints for signs of anomalous execution.

Public exploit and active exploitation status

Verified exploit intelligence

No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.

Weakness Classification and Attack Patterns (CWE & CAPEC)

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-97848 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-97848 weaknesses.

Attack Vector and Accessibility

ExposureAğ üzerinden
PermissionsLow
UserGerekmiyor

Official Sources and Advisories

CVSS Vector Radar Chart

6.5 / 10
Attack VectorNetworkComplexityLowPrivilegesLowUser Interact.NoneConfidentialityLowIntegrityNoneAvailabilityNone

Vulnerability Scoring Details

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow privileges
User InteractionNone required
Confidentiality (Gizlilik)Low
Integrity (Bütünlük)None
Availability (Erişilebilirlik)None

Yama durumu bilinmiyor

İncelenen resmî kaynaklarda yama durumu doğrulanamadı. Bu sonuç “yama yok” anlamına gelmez.

Follow the vendor

RH
Red Hat logo
Red Hat

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.daybreach.dev/api/v1/intel/cves/CVE-2026-97848"
CVE-2026-97848 · Keycloak-services: keycloak-services:…