Security mailing lists by PureSourceCode

CVE-2025-9162

MEDIUM 4.9CVSS 3.1

Keycloak Potential Variable Reference in Model Storage Services

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.

Published
21 Aug 2025
Last modified
10 Sep 2026
Assigned by
secalert@redhat.com
NVD status
Deferred
Weakness
CWE-526
Also known as
GHSA-8hxp-qmph-w5gq
Sources
NVDJSONOSV GHSA-8hxp-qmph-w5gqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Maven org.keycloak:keycloak-model-storage-services all versions
OSV Maven org.keycloak:keycloak-model-storage-services >= 26.3.0, < 26.3.4 26.3.4

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 21 Aug 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Oct 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.