CVE-2025-9162: medium-severity vulnerability in keycloak
Org.keycloak/keycloak-model-storage-service: variable injection into environment variables
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 4.9epss 0.5%
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:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Affected products
Keycloak · keycloakRed Hat · Red Hat build of Keycloak 26.0Red Hat · Red Hat build of Keycloak 26.2Red Hat · Red Hat build of Keycloak 26.2.9Related CVEs — keycloak
In the same product, most dangerous first.
CVE-2024-10270MEDIUMOrg.keycloak:keycloak-services: keycloak denial of serviceEPSS 1.2%CVE-2024-11734MEDIUMOrg.keycloak:keycloak-quarkus-server: denial of service in keycloak server via security headersEPSS 0.9%CVE-2024-12397HIGHIo.quarkus.http/quarkus-http-core: quarkus http cookie smugglingEPSS 0.9%CVE-2024-10451MEDIUMOrg.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build processEPSS 0.9%CVE-2026-7307HIGHKeycloak: keycloak: denial of service via specially crafted saml inputEPSS 0.9%CVE-2026-7507HIGHOrg.keycloak/keycloak-services: session fixation in oidc login flow that can lead to account takeoverEPSS 0.8%
References
https://access.redhat.com/errata/RHSA-2025:15336https://access.redhat.com/errata/RHSA-2025:15337https://access.redhat.com/errata/RHSA-2025:15338https://access.redhat.com/errata/RHSA-2025:15339https://access.redhat.com/errata/RHSA-2025:16399https://access.redhat.com/errata/RHSA-2025:16400https://access.redhat.com/security/cve/CVE-2025-9162https://bugzilla.redhat.com/show_bug.cgi?id=2389396