CVE-2025-9162
Published: Aug 21, 2025
Modified: Dec 19, 2025
CVSS v3.1
4.9
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.
| Vendor | Product | Versions |
|---|---|---|
Keycloak | keycloak | affected 0 - < 26.3.4 |
Red Hat | Red Hat build of Keycloak 26.0 | All versions |
Red Hat | Red Hat build of Keycloak 26.0 | unaffected 26.0.15-1 - < * |
Red Hat | Red Hat build of Keycloak 26.0 | unaffected 26.0-18 - < * |
Red Hat | Red Hat build of Keycloak 26.0 | unaffected 26.0-19 - < * |
Red Hat | Red Hat build of Keycloak 26.2 | All versions |
Red Hat | Red Hat build of Keycloak 26.2 | unaffected 26.2.8-1 - < * |
Red Hat | Red Hat build of Keycloak 26.2 | unaffected 26.2-8 - < * |
Red Hat | Red Hat build of Keycloak 26.2 | unaffected 26.2-8 - < * |
Red Hat | Red Hat build of Keycloak 26.2 | unaffected 26.2.9-1 - < * |
Red Hat | Red Hat build of Keycloak 26.2 | unaffected 26.2-9 - < * |
Red Hat | Red Hat build of Keycloak 26.2 | unaffected 26.2-9 - < * |
Red Hat | Red Hat build of Keycloak 26.2.9 | All versions |
Weaknesses (CWE)
CVSS v3.1 Details
CVSS v3.1 Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now