CVE-2022-1245

    Dashboard / Vulnerabilities / CVE-2022-1245

    CVE-2022-1245

    Published: 7 Jul 2022Last Modified: 12 Aug 2026

    Summary:

    Details: A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- ef47eee2dda29a0f08187ae67970323c28947f11

    Affected versions

    keycloak versions prior to 18.0.0

    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
    CVE-2022-1245 | CVE-DB