1. Accueil
  2. Vulnérabilités
  3. CVE-2026-97848

CVE-2026-97848

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

Publiée le 6 nov. 2026 · modifiée le 9 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 34/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Redhat (2 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Hat build of Keycloak 26.4 Versions non précisées — CNA (éditeur ou attributeur)
Hat build of Keycloak 26.6 Versions non précisées — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

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.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-20 · Validation d'entrée (générique)

Comment sont obtenues et calculées ces données