GHSA-5q66-v53q-pm35

    Dashboard / Vulnerabilities / GHSA-5q66-v53q-pm35

    GHSA-5q66-v53q-pm35

    Published: 12 Sept 2023Last Modified: 16 Jul 2026
    Aliases:

    Summary: Keycloak vulnerable to Plaintext Storage of User Password

    Details: A flaw was discovered in Keycloak Core package. When a user registers itself through registration flow, the "password" and "password-confirm" field from the form will occur as regular attributes in the users attributes. The password is also created, but the user attributes must not be there. This way, any entities (all users and clients with proper rights/roles) are able to retrieve the users passwords in clear-text. ### Impact Passwords for self-registered users are stored as cleartext attributes associated with the user. ### Mitigation Disable self-registration for users in all realms until patched.

    Affected packages

    Package

    Name: org.keycloak:keycloak-core

    Purl: pkg:maven/org.keycloak/keycloak-core

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 22.0.2
    Fixed -22.0.3

    Affected versions

    22.0.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-5q66-v53q-pm35 | CVE-DB