CVE-2025-9162
CVE-2025-9162 is a medium-severity vulnerability with a CVSS 3.x base score of 4.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-526.
Key facts
- Severity: Medium (CVSS 3.x base score 4.9)
- EPSS exploit prediction: 0% (37th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-25456
- Weakness: CWE-526
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-9162?
- 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.
- How severe is CVE-2025-9162?
- CVE-2025-9162 has a CVSS 3.x base score of 4.9, rated medium severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2025-9162 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (37th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2025-9162?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-9162 have an EU (EUVD) identifier?
- Yes. CVE-2025-9162 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-25456.
- When was CVE-2025-9162 published?
- CVE-2025-9162 was published on 2025-08-21 and last updated on 2026-06-17.
References
- https://access.redhat.com/errata/RHSA-2025:15336
- https://access.redhat.com/errata/RHSA-2025:15337
- https://access.redhat.com/errata/RHSA-2025:15338
- https://access.redhat.com/errata/RHSA-2025:15339
- https://access.redhat.com/errata/RHSA-2025:16399
- https://access.redhat.com/errata/RHSA-2025:16400
- https://access.redhat.com/security/cve/CVE-2025-9162
- https://bugzilla.redhat.com/show_bug.cgi?id=2389396
Other CWE-526 vulnerabilities
- CVE-2026-45370 — High (CVSS 7.7): python-utcp is the python implementation of UTCP. Prior to 1.1.3, _prepare_environment() in…
- CVE-2023-5720 — High (CVSS 7.7): A flaw was found in Quarkus, where it does not properly sanitize artifacts created using the Gradle plugin, allowing…
- CVE-2025-28381 — High (CVSS 7.5): A credential leak in OpenC3 COSMOS before v6.0.2 allows attackers to access service credentials as environment…
- CVE-2026-40153 — High (CVSS 7.4): PraisonAIAgents is a multi-agent teams system. Prior to 1.5.128, the execute_command function in shell_tools.py calls…
- CVE-2024-2700 — High (CVSS 7.0): A vulnerability was found in the quarkus-core component. Quarkus captures local environment variables from the Quarkus…
- CVE-2023-43029 — Medium (CVSS 6.8): IBM Storage Virtualize vSphere Remote Plug-in 1.0 and 1.1 could allow a remote user to obtain sensitive credential…