ADVISORIES

GitHub Advisory Database

GHSA-cpf7-j4cf-vqx4

Keycloak has an Out-of-bounds Read

Moderate CVE-2026-9803

Details

A flaw was found in Keycloak's ClientRegistrationAuth component. A remote unauthenticated attacker can exploit this vulnerability by sending a specially crafted POST request with a malformed 'Authorization: Bearer' header to any client registration endpoint. This can lead to an ArrayIndexOutOfBoundsException, causing the server to return an HTTP 500 error and resulting in a Denial of Service (DoS) for the affected service.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
All versions up to and including 26.4.7
Mavenorg.keycloak:keycloak-services
From 26.5.0 before 26.6.3 (fixed in 26.6.3)

References