← CVE Intelligence

CVE-2025-9162

Org.keycloak/keycloak-model-storage-service: variable injection into environment variables PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Keycloak / keycloakaffected 0 before 26.3.4
Red Hat / Red Hat build of Keycloak 26.0unaffected
Red Hat / Red Hat build of Keycloak 26.0unaffected 26.0.15-1 before *
Red Hat / Red Hat build of Keycloak 26.0unaffected 26.0-18 before *
Red Hat / Red Hat build of Keycloak 26.0unaffected 26.0-19 before *
Red Hat / Red Hat build of Keycloak 26.2unaffected
Red Hat / Red Hat build of Keycloak 26.2unaffected 26.2.8-1 before *
Red Hat / Red Hat build of Keycloak 26.2unaffected 26.2-8 before *
Red Hat / Red Hat build of Keycloak 26.2unaffected 26.2-8 before *
Red Hat / Red Hat build of Keycloak 26.2unaffected 26.2.9-1 before *
Red Hat / Red Hat build of Keycloak 26.2unaffected 26.2-9 before *
Red Hat / Red Hat build of Keycloak 26.2unaffected 26.2-9 before *
Red Hat / Red Hat build of Keycloak 26.2.9unaffected

CWE

CWE-526

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.