patchminder
No public exploit found CVE-2025-9162

Vulnerabilityin Keycloak.

Published 21 Aug 2025 · Updated 19 Dec 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 4.9
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.6% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 26.3.4 or later
In plain words

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.

What to do now
  • Upgrade keycloak to 26.3.4 or later.
  • Upgrade org.keycloak:keycloak-model-storage-services (Maven) to 26.3.4 or later.
  • Can't upgrade today? Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
keycloak
before 26.3.4
26.3.4
CVE record
Red Hat build of Keycloak 26.0
Not confirmed
Not confirmed
CVE record
Red Hat build of Keycloak 26.2
Not confirmed
Not confirmed
CVE record
Red Hat build of Keycloak 26.2.9
Not confirmed
Not confirmed
CVE record
org.keycloak:keycloak-model-storage-services (Maven)
all versions
Not confirmed
GitHub advisory
org.keycloak:keycloak-model-storage-services (Maven)
26.3.0 to before 26.3.4
26.3.4
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 Aug 2025
    CVE ID reserved by redhat.
  2. 21 Aug 2025
    Published in the CVE List.
  3. 19 Dec 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Keycloak vulnerabilities

Same weakness:

All CWE-526 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-9162: Vulnerability in Keycloak. https://patchminder.com/cve/cve-2025-9162/ (accessed 5 December 2026).