CVE-2026-4874
Modified
Modified - Updated After Analysis
Server-Side Request Forgery in Keycloak via client_session_host
Publication date: 2026-03-26
Last updated on: 2026-06-10
Assigner: Red Hat, Inc.
Description
Description
A flaw was found in Keycloak. An authenticated attacker can perform Server-Side Request Forgery (SSRF) by manipulating the `client_session_host` parameter during refresh token requests. This occurs when a Keycloak client is configured to use the `backchannel.logout.url` with the `application.session.host` placeholder. Successful exploitation allows the attacker to make HTTP requests from the Keycloak serverβs network context, potentially probing internal networks or internal APIs, leading to information disclosure.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| redhat | single_sign-on | 7.0 |
| redhat | jboss_enterprise_application_platform_expansion_pack | * |
| redhat | jboss_enterprise_application_platform | 8.0.0 |
| redhat | build_of_keycloak | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-918 | The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. |