cve.bz

CVE-2025-9162

4.9 mediumEPSS 0.5%

Medium (4.9). EPSS 0.5% chance of exploitation in the next 30 days. Fixed in org.keycloak:keycloak-model-storage-services 26.3.4.

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.

Severity

CVSS 3.1

4.9 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS
0.5% chance of exploitation in the next 30 days; higher than 45% of CVEs (scores of 2026-10-31)
CWE
CWE-526
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8hxp-qmph-w5gqMavenorg.keycloak:keycloak-model-storage-servicesall versionsno fix published
GHSA-8hxp-qmph-w5gqMavenorg.keycloak:keycloak-model-storage-services>=26.3.0 <26.3.426.3.4

References

Check your stackJSON