NetSight
high7.7

CVE-2026-2092

Keycloak: Unauthorized access via improper validation of encrypted SAML assertions

Impact

A flaw was found in Keycloak. Keycloak's Security Assertion Markup Language (SAML) broker endpoint does not properly validate encrypted assertions when the overall SAML response is not signed. An attacker with a valid signed SAML assertion can exploit this by crafting a malicious SAML response. This allows the attacker to inject an encrypted assertion for an arbitrary principal, leading to unauthorized access and potential information disclosure.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-services<= 26.2.5none recorded

Affected products

VendorProductAffected versions
RedhatBuild Of Keycloak
from 26.2 before 26.2.14
from 26.4 before 26.4.10

Weakness classification

References