CVE-2025-9162
Org.keycloak/keycloak-model-storage-service: variable injection into environment variables
4.9CVSSMEDIUM
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.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:HPrivileges RequiredHigh
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:NIntegrityNone
A:NAvailabilityNone
Weaknesses
Affected Products
Exploitability
Official Patch Available
Workaround Available
References
https://access.redhat.com/errata/RHSA-2025:15336
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:15337
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:15338
access.redhat.com
and 9 more references View all →
Timeline
Published
Aug 21, 2025
Last Updated
Sep 22, 2025
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-9162 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows