Skip to content
4.9 Medium

CVE-2025-9162 A flaw was found in org.keycloak/keycloak-model-storage-service

Description

A flaw was found in org.keycloak/keycloak-model-storage-service. The KeycloakRealmImport custom resource substitutes placeholders within imported realm documents, potentially referencing environment variables. This substitution process allows for injection attacks when crafted realm documents are processed. An attacker can leverage this to inject malicious content during the realm import procedure. This can lead to unintended consequences within the Keycloak environment.

Affected products and versions

Product Affected versions Fixed in
keycloak 26.3 earliest → < 26.3.4 26.3.4
Red Hat build of Keycloak 26.0 26.0 earliest → < 26.0-19 26.0-19
Red Hat build of Keycloak 26.2 26.2 earliest → < 26.2-9 26.2-9
Red Hat build of Keycloak 26.2.9 Versions not published

References

Timeline

  1. Published
  2. Last modified
The 15 CVEs of keycloak →
Track this CVE