Org.keycloak/keycloak-model-storage-service: variable injection into environment variables (Keycloak keycloak)
En bref
- Source
- NVD
- EPSS
- EPSS 0.54 % · centile 45 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Deferred
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.
Faiblesses (CWE)
- CWE-526 — Cleartext Storage of Sensitive Information in an Environment Variable
Références
- https://access.redhat.com/errata/RHSA-2025:15336
- https://access.redhat.com/errata/RHSA-2025:15337
- https://access.redhat.com/errata/RHSA-2025:15338
- https://access.redhat.com/errata/RHSA-2025:15339
- https://access.redhat.com/errata/RHSA-2025:16399
- https://access.redhat.com/errata/RHSA-2025:16400
- https://access.redhat.com/security/cve/CVE-2025-9162
- https://bugzilla.redhat.com/show_bug.cgi?id=2389396
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | redhat |
| CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | NVD · secalert@redhat.com (Secondary) |
Avis
- GHSA-8hxp-qmph-w5gq — Keycloak Potential Variable Reference in Model Storage Services
Références européennes
- ENISA EUVD · EUVD-2025-25456
- GCVE · GCVE-0-2025-9162
Produits affectés
| Produit | Versions |
|---|---|
| Keycloak · keycloak | affected 0 < 26.3.4 |
| Red Hat · Red Hat build of Keycloak 26.0 | |
| 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 | |
| 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 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |