CVE-2023-4918Redhat Keycloak
High 8.8
Follow: this CVE · Redhat · Redhat Keycloak We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 44
- Auth required
- Yes
- Published
- Sep 12, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-core |
≥ 22.0.2 < 22.0.3 |
22.0.3 |
— |
Per OSV / GitHub Advisories (GHSA-5q66-v53q-pm35). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | keycloak | 22.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- github.com Vendor Advisory