Skip to content
OpenAdvisories

Description

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 products

VendorProductAffectedFixed
Red Hat Red Hat build of Keycloak 26.2 — —
Red Hat Red Hat build of Keycloak 26.2.14 — —
Red Hat Red Hat build of Keycloak 26.4 — —
Red Hat Red Hat build of Keycloak 26.4.10 — —
Red Hat Red Hat Single Sign-On 7.6.13 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 — —
Red Hat RHEL-8 based Middleware Containers — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.20-1.redhat_00001.1.el7sso RHSA-2026:76130, RHSA-2026:76129, RHSA-2026:76128

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling keycloak-26.4-iamguarded-compat 26.4.7-r10 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services <= 26.2.5 — GHSA-794g-x443-36f7
Maven org.keycloak:keycloak-services >= 26.3.0, <= 26.4.7 — GHSA-794g-x443-36f7
Maven org.keycloak:keycloak-services >= 26.5.0, < 26.5.5 26.5.5 GHSA-794g-x443-36f7

Advisories 4

References