This advisory has been withdrawn because it is a duplicate of GHSA-8hxp-qmph-w5gq. This link is maintained to preserve external references.
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.
{
"nvd_published_at": "2025-08-21T16:15:35Z",
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2025-08-22T15:34:50Z",
"cwe_ids": [
"CWE-526"
]
}