WaratekVRT Sign in

CVE-2021-4133 Keycloak

Affected softwareKeycloak
Severity8.8 High CVSS 3.1 2 scores
Fixed in15.1.1
WeaknessIncorrect authorization (CWE-863)
Published25 Jan 2022
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.4% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/keycloak/keycloak/security/advisories/GHSA-83x4-9cwr-5487 : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 6.5 none AV:N/AC:L/Au:S/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-services 0 15.1.1 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-services generic < 15.1.1
nvd redhat keycloak generic ≥ 12.0.0 and < 15.1.1

References

URLTags
https://github.com/keycloak/keycloak/security/advisories/GHSA-83x4-9cwr-5487 advisory
https://github.com/keycloak/keycloak/issues/9247 WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2033602 WEB
https://github.com/keycloak/keycloak PACKAGE
https://www.oracle.com/security-alerts/cpuapr2022.html WEB

Timeline

Published2022-01-25By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.