CVE 4.9 MEDIUM

Org.keycloak/keycloak-model-storage-service: variable injection into environment variables_CVE-2025-9162

4.9 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

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.

Basic Information

ID CVE-2025-9162
Source redhat
Published Aug 21, 2025 at 15:40

Affected Product

Vendor Red Hat
Product Red Hat Build of Keycloak

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.