Injection Vulnerability in Keycloak Model Storage Service by Red Hat
CVE-2025-9162

4.9MEDIUM

Key Information:

Vendor

Red Hat

Vendor
CVE Published:
21 August 2025

What is CVE-2025-9162?

A flaw identified in the Keycloak Model Storage Service enables injection attacks during the realm import process. The KeycloakRealmImport custom resource replaces placeholders in imported realm documents with environment variables. When processed incorrectly, this substitution allows attackers to manipulate these documents to inject malicious content, potentially impacting the configuration and behavior of the Keycloak environment, thereby exposing it to various security risks.

References

CVSS V3.1

Score:
4.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-9162 : Injection Vulnerability in Keycloak Model Storage Service by Red Hat