WaratekVRT Sign in

CVE-2023-4918 Keycloak

Affected softwareKeycloak
Severity8.8 High CVSS 3.1 2 scores
Fixed in22.0.3
WeaknessCWE-256
Published12 Sep 2023
Updated17 Jun 2026

Description

A flaw was found in the Keycloak package, more specifically org.keycloak.userprofile. When a user registers itself through registration flow, the "password" and "password-confirm" field from the form will occur as regular user attributes. All users and clients with proper rights and roles are able to read users attributes, allowing a malicious user with minimal access to retrieve the users passwords in clear text, jeopardizing their environment.

CWE-319

Exploitation status

No public exploit

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

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.57% 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-5q66-v53q-pm35 : 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 secalert@redhat.com Secondary published
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

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-core 22.0.2 22.0.3 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-core generic ≥ 22.0.2 and < 22.0.3
nvd redhat keycloak generic 22.0.2

References

URLTags
https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35 advisory
https://access.redhat.com/security/cve/CVE-2023-4918 WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2238588 WEB
https://github.com/keycloak/keycloak PACKAGE

Timeline

Published2023-09-12By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.