CVE-2025-9162CWE-526

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

Medium · published August 21, 2025

CVSS v3.1
4.9
EPSS
1%
Percentile
43.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00518 · 43.2th percentile
Weakness
CWE-526 · Cleartext Storage of Sensitive Information in an Environment Variable
Published
2025-08-21T15:40Z
EPSS history
Timeline
  • 21 AUG 15:40Z
    Org.keycloak/keycloak-model-storage-service: variable injection into environment variables
    cvelistv5