NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2026-4874: Keycloak Server-Side Request Forgery via OIDC token endpoint manipulation

lowCVSS 3.1 3.1GHSA-22rm-wp4x-v5cx

A flaw was found in Keycloak. An authenticated attacker can perform Server-Side Request Forgery (SSRF) by manipulating the clientsessionhost 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.

Published Mar 26, 2026 · Updated Jul 15, 2026

Affected packages

org.keycloak:keycloak-services

Ecosystem
Maven
Affected
>= 26.5.0, < 26.6.3
Fixed in
26.6.3
Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-services

org.keycloak:keycloak-services

Ecosystem
Maven
Affected
< 26.4.13
Fixed in
26.4.13
Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-services

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to krapovneru, dnegreira, ahus1.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries