CVE-2026-18967: Keycloak services, versions verified individually
At a glance
- Source
- VigieVuln
- CVE
- CVE-2026-18967
- CVE severity
- MEDIUM 6.4 from the CVE record
- EPSS
- 0.14 % ·
- ENISA EUVD
- EUVD-2026-53716
- Published
- Assigner
- redhat
- Affected products
- Red Hat · Red Hat Build of Keycloak
Red Hat · Red Hat JBoss Enterprise Application Platform Expansion Pack
Red Hat · Red Hat Single Sign-On 7 - Review
- Reviewed by a human.
- Confidence reported during research
- uncertain
- Updated
Description
A flaw was found in the SAML broker component of Keycloak, an identity and access management solution. When configured as a SAML broker using the IdP-Initiated flow, Keycloak fails to enforce the OneTimeUse condition in SAML assertions. This allows an attacker who captures a valid, unused assertion to replay it multiple times. Successful exploitation could allow an attacker to hijack a user's session and gain unauthorized access to the system as that user.
Reconciliation
Reconciled with AI assistance. Reviewed by a human.
The publisher reports replay of SAML OneTimeUse assertions in the IdP-initiated broker flow. The listed source tags contain the earlier validation flow without the replay check. PR #51877 was closed without merge; alternative PR #54097 was merged into the main branch on 2026-10-26. No published fixed version or broader affected interval has been established. Runtime exposure depends on the SAML broker configuration.
Only the listed ranges and versions were verified; other versions remain undetermined.
Information added or clarified: Maven · org.keycloak:keycloak-services — verified versions : 26.7.0, 26.7.1, 26.7.2.
Original sources
New evidence
- https://www.cve.org/CVERecord?id=CVE-2026-18967 — Original CVE record
- https://github.com/keycloak/keycloak/issues/51782 — Publisher vulnerability report
- https://github.com/keycloak/keycloak/pull/51877 — Proposed fix closed without merge on 2026-10-22; no fixed release established
- https://github.com/keycloak/keycloak/blob/26.7.0/services/src/main/java/org/keycloak/broker/saml/SAMLEndpoint.java — Publisher source at tag 26.7.0
- https://github.com/keycloak/keycloak/blob/26.7.1/services/src/main/java/org/keycloak/broker/saml/SAMLEndpoint.java — Publisher source at tag 26.7.1
- https://github.com/keycloak/keycloak/blob/26.7.2/services/src/main/java/org/keycloak/broker/saml/SAMLEndpoint.java — Publisher source at tag 26.7.2
- https://github.com/keycloak/keycloak/pull/54097 — Publisher alternative fix merged into main on 2026-10-26; no released version established
- https://github.com/keycloak/keycloak/blob/641c549949019eddaa075107aac382cb9f81395d/services/src/main/java/org/keycloak/broker/saml/SAMLEndpoint.java — Publisher source with OneTimeUse check in merged commit
Affected packages
| Package | Versions |
|---|---|
| Maven · org.keycloak:keycloak-services | 26.7.0, 26.7.1, 26.7.2 |
Original CVE information
Information from the CVE record and, where indicated, NVD. View the full CVE record
Affected products
| Product | Affected versions |
|---|---|
Red Hat · Red Hat Build of Keycloakkeycloak-services | Other versions : affected |
Red Hat · Red Hat Build of Keycloakrhbk-keycloak-rhel9/rhbk-keycloak-rhel9 | Other versions : affected |
Red Hat · Red Hat Build of Keycloakrhbk-openshift-rhel9/rhbk-openshift-rhel9 | Other versions : affected |
Red Hat · Red Hat JBoss Enterprise Application Platform Expansion Packkeycloak-services | Other versions : affected |
Red Hat · Red Hat Single Sign-On 7keycloak-services | Other versions : unaffected |
Weaknesses (CWE)
- CWE-294 — Authentication Bypass by Capture-replay
Credits
- Red Hat would like to thank Lidor Vasker for reporting this issue.
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N | redhat |
| CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD · nvd@nist.gov (Primary) |
References
Sources
| Source | Licence |
|---|---|
| CVE Project | |
| VigieVuln | |
| VigieVuln | |
| VigieVuln | |
| NVD (NIST) | Public domain |