CVE Database
/

CVE-2025-9162

Back to search

CVE-2025-9162

Published: Aug 21, 2025

Modified: Dec 19, 2025

PUBLISHED

CVSS v3.1

4.9

MEDIUM

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.

VendorProductVersions

Keycloak

keycloak

affected
0 - < 26.3.4

Red Hat

Red Hat build of Keycloak 26.0

All versions

Red Hat

Red Hat build of Keycloak 26.0

unaffected
26.0.15-1 - < *

Red Hat

Red Hat build of Keycloak 26.0

unaffected
26.0-18 - < *

Red Hat

Red Hat build of Keycloak 26.0

unaffected
26.0-19 - < *

Red Hat

Red Hat build of Keycloak 26.2

All versions

Red Hat

Red Hat build of Keycloak 26.2

unaffected
26.2.8-1 - < *

Red Hat

Red Hat build of Keycloak 26.2

unaffected
26.2-8 - < *

Red Hat

Red Hat build of Keycloak 26.2

unaffected
26.2-8 - < *

Red Hat

Red Hat build of Keycloak 26.2

unaffected
26.2.9-1 - < *

Red Hat

Red Hat build of Keycloak 26.2

unaffected
26.2-9 - < *

Red Hat

Red Hat build of Keycloak 26.2

unaffected
26.2-9 - < *

Red Hat

Red Hat build of Keycloak 26.2.9

All versions

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Attack Vector

Network

Attack Complexity

Low

Privileges Required

High

User Interaction

None

Scope

Unchanged

Confidentiality

High

Integrity

None

Availability

None

References

RHSA-2025:15336
vendor-advisory
x_refsource_REDHAT
RHSA-2025:15337
vendor-advisory
x_refsource_REDHAT
RHSA-2025:15338
vendor-advisory
x_refsource_REDHAT
RHSA-2025:15339
vendor-advisory
x_refsource_REDHAT
RHSA-2025:16399
vendor-advisory
x_refsource_REDHAT
RHSA-2025:16400
vendor-advisory
x_refsource_REDHAT
RHBZ#2389396
issue-tracking
x_refsource_REDHAT

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now