Skip to main content
← All vulnerabilities
CVE-2025-9162GHSA-8HXP-QMPH-W5GQ

Org.keycloak/keycloak-model-storage-service: variable injection into environment variables

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 26.3.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • keycloak

    fixed in 26.3.4

  • org.keycloak/keycloak-model-storage-service

    Version range not reported

  • rhbk/keycloak-operator-bundle

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • rhbk/keycloak-rhel9-operator

    Version range not reported

  • org.keycloak/keycloak-model-storage-service

    Version range not reported

  • rhbk/keycloak-operator-bundle

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • rhbk/keycloak-rhel9-operator

    Version range not reported

  • rhbk/keycloak-operator-bundle

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • rhbk/keycloak-rhel9-operator

    Version range not reported

  • org.keycloak/keycloak-model-storage-service

    Version range not reported

  • org.keycloak:keycloak-model-storage-servicesMaven

    All versions

  • org.keycloak:keycloak-model-storage-servicesMaven

    From 26.3.0 · fixed in 26.3.4

References 8

access.redhat.com

bugzilla.redhat.com