CVE-2023-4918
HIGH 8.8CVSS 3.1Keycloak vulnerable to Plaintext Storage of User Password
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.
- Published
- 12 Sep 2023
- Last modified
- 16 Jul 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-256CWE-319
- Also known as
- GHSA-5q66-v53q-pm35
- Sources
- NVDJSONOSV GHSA-5q66-v53q-pm35JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:22.0.2:*:*:*:*:*:*:* |
= 22.0.2 | |
| OSV | Maven | org.keycloak:keycloak-core | >= 22.0.2, < 22.0.3 | 22.0.3 |
References
- https://access.redhat.com/security/cve/CVE-2023-4918 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2238588 · Issue Tracking, Vendor Advisory, WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-4918 · ADVISORY
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 12 Sep 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Sep 2023)