# CVE-2023-4918: Plaintext storage of user password

- Severity: High 8.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2023-09-12T19:24:59.955Z
- Modified: 2026-07-16T03:59:27.600Z
- Also known as: GHSA-5q66-v53q-pm35
- Weaknesses: CWE-256, CWE-319
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- keycloak: no versions given (not affected: 22.0.3)
- org.keycloak:keycloak-core (Maven): from 22.0.2 before 22.0.3
- redhat keycloak: 22.0.2

## Every score

- redhat: 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`
- GitHub: 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: 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`

## References

- <https://access.redhat.com/security/cve/CVE-2023-4918> (vdb-entry, 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)

## Sources

- CVE List: [CVE-2023-4918](https://www.cve.org/CVERecord?id=CVE-2023-4918), CVE Terms of Use, modified 2024-09-25
- GitHub Advisory Database: [GHSA-5q66-v53q-pm35](https://github.com/advisories/GHSA-5q66-v53q-pm35), CC-BY-4.0, modified 2026-07-16
- NVD: [CVE-2023-4918](https://nvd.nist.gov/vuln/detail/CVE-2023-4918), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-4918 · Whole record: https://cve.day/CVE-2023-4918.json · Rebuilt by cve.day 2026-11-25T22:58:27.869Z
