Live threats

All CVEs / Keycloak

CVE-2025-9162keycloak

Medium 4.9

Priority
29
CVSS 3.1
4.9
EPSS
—
Auth required
Yes
Published
Aug 21, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-526
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for keycloak.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.keycloak:keycloak-model-storage-services all no fixed version —
Maven org.keycloak:keycloak-model-storage-services ≥ 26.3.0 < 26.3.4 26.3.4 —

Per OSV / GitHub Advisories (GHSA-8hxp-qmph-w5gq). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.