CVE-2025-9162 – Keycloak KeycloakRealmImport Environment Variable Injection Vulnerability

The following table lists the changes that have been made to the
CVE-2025-9162 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by [email protected]

    Aug. 21, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
    Added CWE CWE-526
    Added Reference https://access.redhat.com/security/cve/CVE-2025-9162
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2389396
Share the Post:

Related Posts