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
- RHSA-2025:15336 access.redhat.com
- RHSA-2025:15337 access.redhat.com
- RHSA-2025:15338 access.redhat.com
- RHSA-2025:15339 access.redhat.com
- RHSA-2025:16399 access.redhat.com
- RHSA-2025:16400 access.redhat.com
- access.redhat.com access.redhat.com
- RHBZ#2389396 bugzilla.redhat.com
Timeline
- Published
- Last modified