Plaintext storage of user password
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-256.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keycloak | — | 22.0.3 | Patch available | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-core (Maven) | 22.0.2 to before 22.0.3 | 22.0.3 | Patch available | GHSA-5q66-v53q-pm35 |
- keycloak Vendor— Affected — Fixed in 22.0.3 Patch available CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- org.keycloak:keycloak-core (Maven) Vendor— Affected 22.0.2 to before 22.0.3 Fixed in 22.0.3 Patch available GHSA-5q66-v53q-pm35
Remediation
- Fix · CNA keycloak Fixed in 22.0.3
- Fix · GHSA-5q66-v53q-pm35 org.keycloak:keycloak-core (Maven) Fixed in 22.0.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Single Sign-On 7
Timeline
- 2026-10-02 Threatist record created from CVE-2023-4918
- 2026-10-03 Alias added: GHSA-5q66-v53q-pm35
References
More Red Hat Keycloak vulnerabilities
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
- TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
- TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
- TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
Sources
- CVE-2023-4918 · CVE Program
- CVE-2023-4918 · NVD
- FIRST EPSS
- GHSA-5q66-v53q-pm35 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-4918 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences