Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-9162

published medium CVSS 3.1 · 4.9

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

Published
21 Aug 2025, 15:40:25 UTC
Updated
19 Dec 2025, 21:46:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Keycloak — keycloak0 to < 26.3.4 · Other versions: unaffected Affected Not stated redhat
Red Hat — org.keycloak/keycloak-model-storage-serviceRed Hat build of Keycloak 26.0 Unaffected Not required redhat
Red Hat — rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.0 · 26.0.15-1 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.0 · 26.0-18 and later · Other versions: affected Unaffected Not stated redhat
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat — rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.0 · 26.0-19 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — org.keycloak/keycloak-model-storage-serviceRed Hat build of Keycloak 26.2 Unaffected Not required redhat
Red Hat — rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.2 · 26.2.8-1 and later · Other versions: affected Unaffected Not stated redhat
Show 6 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.2 · 26.2-8 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.2 · 26.2-8 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.2 · 26.2.9-1 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.2 · 26.2-9 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.2 · 26.2-9 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — org.keycloak/keycloak-model-storage-serviceRed Hat build of Keycloak 26.2.9 Unaffected Not required redhat

Description

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.9 / 10
Severity
medium
Provider
redhat · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Keycloak keycloak 0 to < 26.3.4 (affected · semver)Default: unaffected redhat · cna
Red Hat Red Hat build of Keycloak 26.0 Default: unaffected redhat · cna
Red Hat Red Hat build of Keycloak 26.0 26.0.15-1 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.0 26.0-18 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.0 26.0-19 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.2 Default: unaffected redhat · cna
Red Hat Red Hat build of Keycloak 26.2 26.2.8-1 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.2 26.2-8 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.2 26.2-8 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.2 26.2.9-1 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.2 26.2-9 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.2 26.2-9 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.2.9 Default: unaffected redhat · cna

Weaknesses

1
  • CWE-526 Cleartext Storage of Sensitive Information in an Environment Variable (redhat · cna)

References

8
  • RHSA-2025:15336 https://access.redhat.com/errata/RHSA-2025:15336 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2025:15337 https://access.redhat.com/errata/RHSA-2025:15337 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2025:15338 https://access.redhat.com/errata/RHSA-2025:15338 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2025:15339 https://access.redhat.com/errata/RHSA-2025:15339 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2025:16399 https://access.redhat.com/errata/RHSA-2025:16399 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2025:16400 https://access.redhat.com/errata/RHSA-2025:16400 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • https://access.redhat.com/security/cve/CVE-2025-9162 vdb-entry, x_refsource_REDHAT Contributors: redhat (cna)
  • RHBZ#2389396 https://bugzilla.redhat.com/show_bug.cgi?id=2389396 issue-tracking, x_refsource_REDHAT Contributors: redhat (cna)

Provider assertions

2

redhat · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
81188f61f862a45afbeccf087760984bedb9b56d7f9bdcf00f02d296bcec07fe
Ingested
23 Sep 2026, 08:59:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected