CVE-2019-10170: Keycloak - Remote Code Execution
- Cve: CVE-2019-10170
- Name: Keycloak - Remote Code Execution
- Description: A flaw was found in the Keycloak admin console, where the realm management interface permits a script to be set via the policy. This flaw allows an attacker with authenticated user and realm management permissions to configure a malicious script to trigger and execute arbitrary code with the permissions of the application user.
- Impact: Authenticated attackers can execute arbitrary code with application user permissions, potentially leading to full system compromise.
- Remediation: Update to the latest version of Keycloak where this issue is fixed.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs realm management permissions
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01153
- Epss percentile: 0.6779
- Assignee: [email protected]
- Published at: 2020-05-08T14:15:11Z
- Age in days: 2391
- Modified at: 2026-06-17T02:10:24Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-10170
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-267 | Privilege Defined With Unsafe Actions |
| NVD-CWE-Other | — |
References
| Url | Source | Tags |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10170 | nvd | Issue Tracking, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| redhat:keycloak | < 8.0.0 | no | nvd | /v1/products/redhat/keycloak |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| keycloak/keycloak | package | yes | /v1/repositories/keycloak/keycloak |
Index
- Repositories: 14
- Repositories high signal: 4
- Packages: 1
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 39878
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports