Bug 2389396 (CVE-2025-9162) - CVE-2025-9162 org.keycloak/keycloak-model-storage-service: Variable injection into environment variables
Summary: CVE-2025-9162 org.keycloak/keycloak-model-storage-service: Variable injection...
Keywords:
Status: NEW
Alias: CVE-2025-9162
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-19 13:11 UTC by OSIDB Bzimport
Modified: 2025-08-21 15:37 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-08-19 13:11:42 UTC
There is a potential security issue with the KeycloakRealmImport custom 
resource. Placeholders within the realm document, which may reference 
environment variables, will be replaced as part of the import process. 
That provides a way to inject into the realm sensitive environment 
variables, such as the database password. See 
https://github.com/keycloak/keycloak/blob/75afda410495a9576e00edc3277ab42ca155f806/model/storage-services/src/main/java/org/keycloak/exportimport/AbstractFileBasedImportProvider.java#L35


Note You need to log in before you can comment on or make changes to this bug.