SB2025090931 - Multiple vulnerabilities in Keycloak
Published: September 9, 2025 Updated: November 17, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) Command Injection (CVE-ID: CVE-2025-8419)
The vulnerability allows a remote attacker to execute arbitrary SMTP commands.
The vulnerability exists due to insufficient input validation during e-mail registration. A remote attacker can pass specially crafted data to the application and send out e-mail messages.
2) Input validation error (CVE-ID: CVE-2025-9162)
The vulnerability allows a remote user to gain access to sensitive information.
The vulnerability exists due to insufficient validation of user-supplied input within the keycloak-model-storage-service component. The KeycloakRealmImport custom resource substitutes placeholders within imported realm documents, potentially referencing environment variables. A remote privileged user can inject malicious content during the realm import procedure and gain access to sensitive information.
Remediation
Install update from vendor's website.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2385776
- https://github.com/advisories/GHSA-qj5r-2r5p-phc7
- https://github.com/keycloak/keycloak/security/advisories/GHSA-m4j5-5x4r-2xp9
- https://bugzilla.redhat.com/show_bug.cgi?id=2389396
- https://github.com/keycloak/keycloak/blob/75afda410495a9576e00edc3277ab42ca155f806/model/storage-services/src/main/java/org/keycloak/exportimport/AbstractFileBasedImportProvider.java#L35
- https://github.com/advisories/GHSA-w2wj-hw98-233h
- https://github.com/keycloak/keycloak/security/advisories/GHSA-8hxp-qmph-w5gq
- https://github.com/advisories/GHSA-8hxp-qmph-w5gq