CVE-2025-9162
Java vulnerability analysis and mitigation

Overview

CVE-2025-9162 is a security vulnerability discovered in org.keycloak/keycloak-model-storage-service, specifically affecting the KeycloakRealmImport custom resource. The vulnerability was disclosed on August 21, 2025, and primarily impacts the Keycloak environment. This flaw involves the substitution of placeholders within imported realm documents that can reference environment variables (Red Hat CVE, NVD).

Technical details

The vulnerability stems from the KeycloakRealmImport custom resource's functionality that substitutes placeholders within imported realm documents. The flaw has been assigned a CVSS v3.1 base score of 4.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N. It is categorized under CWE-526 (Exposure of Sensitive Information Through Environmental Variables) (Red Hat CVE).

Impact

The vulnerability can lead to unintended consequences within the Keycloak environment. When exploited, an attacker can inject malicious content during the realm import procedure, potentially exposing sensitive information through environment variables (Red Hat CVE).

Mitigation and workarounds

According to Red Hat, mitigation options for this vulnerability are either not available or do not meet their Product Security criteria for ease of use, deployment, applicability to widespread installation base, or stability (Red Hat CVE).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68931HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68703HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68704HIGH8.2
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-66169MEDIUM6.9
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2025-68925MEDIUM6.9
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management