Keycloak's 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, injecting an encrypted assertion for an arbitrary principal, leading to unauthorized access and potential information disclosure.
{
"severity": "HIGH",
"github_reviewed_at": "2026-07-02T20:42:23Z",
"nvd_published_at": null,
"cwe_ids": [
"CWE-1287"
],
"github_reviewed": true
}