Keycloak vulnerabilities

Keycloak is an identity server that applications run on or next to (its releases): every project that runs it is exposed to its vulnerabilities, whatever its own code. Its advisories come from the NVD.

Recent advisories for Keycloak

  • Critical CVSS 9.1

    CVE-2019-14837: A flaw was found in keycloack before version 8.0.0.

  • Critical CVSS 9.8

    CVE-2019-14910: A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used instead of SSL/TLS from the LDAP server (ldaps), in this case user...

  • Critical CVSS 9.6

    CVE-2021-20195: A flaw was found in keycloak in versions before 13.0.0.

  • Critical CVSS 9.8

    CVE-2022-1245: A privilege escalation flaw was found in the token exchange feature of keycloak.

  • Critical CVSS 9.1

    CVE-2022-3782: keycloak: path traversal via double URL encoding.

  • High CVSS 7.5

    CVE-2014-3651: JBoss KeyCloak before 1.0.3.Final allows remote attackers to cause a denial of service (resource consumption) via a large value in the size parameter to auth/qrcode, related to QR code generation.

  • High CVSS 8.1

    CVE-2016-8609: It was found that the keycloak before 2.3.0 did not implement authentication flow correctly.

  • High CVSS 7.2

    CVE-2017-12160: It was found that Keycloak oauth would permit an authenticated resource to obtain an access/refresh token pair from the authentication server, permitting indefinite usage in the case of permission...

  • High CVSS 8.8

    CVE-2017-12161: It was found that keycloak before 3.4.2 final would permit misuse of a client-side /etc/hosts entry to spoof a URL in a password reset request.

  • High CVSS 7.5

    CVE-2017-2646: It was found that when Keycloak before 2.5.5 receives a Logout request with a Extensions in the middle of the request, the SAMLSloRequestParser.parse() method ends in a infinite loop.

  • High CVSS 8.1

    CVE-2018-14637: The SAML broker consumer endpoint in Keycloak before version 4.6.0.Final ignores expiration conditions on SAML assertions.

  • High CVSS 8.1

    CVE-2018-14657: A flaw was found in Keycloak 4.2.1.Final, 4.3.0.Final.

  • High CVSS 7.2

    CVE-2019-10169: A flaw was found in Keycloak’s user-managed access interface, where it would permit a script to be set in the UMA policy.

  • High CVSS 7.2

    CVE-2019-10170: A flaw was found in the Keycloak admin console, where the realm management interface permits a script to be set via the policy.

  • High CVSS 8.8

    CVE-2019-10199: It was found that Keycloak's account console, up to 6.0.1, did not perform adequate header checks in some requests.

  • High CVSS 8.1

    CVE-2019-10201: It was found that Keycloak's SAML broker, versions up to 6.0.1, did not verify missing message signatures.

  • High CVSS 7.5

    CVE-2019-14832: A flaw was found in the Keycloak REST API before version 8.0.0 where it would permit user access from a realm the user was not configured.

  • High CVSS 8.3

    CVE-2019-14909: A vulnerability was found in Keycloak 7.x where the user federation LDAP bind type is none (LDAP anonymous bind), any password, invalid or valid will be accepted.

  • High CVSS 7.5

    CVE-2020-10758: A vulnerability was found in Keycloak before 11.0.1 where DoS attack is possible by sending twenty requests simultaneously to the specified keycloak server, all with a Content-Length header value...

  • High CVSS 7.5

    CVE-2020-14366: A vulnerability was found in keycloak, where path traversal using URL-encoded path segments in the request is possible because the resources endpoint applies a transformation of the url path to...

  • High CVSS 8.1

    CVE-2020-14389: It was found that Keycloak before version 12.0.0 would permit a user with only view-profile role to manage the resources in the new account console, allowing access and modification of data the...

  • High CVSS 8.8

    CVE-2020-1714: A flaw was found in Keycloak before version 11.0.0, where the code base contains usages of ObjectInputStream without type checks.

  • High CVSS 8.8

    CVE-2020-1718: A flaw was found in the reset credential flow in all Keycloak versions before 8.0.0.

  • High CVSS 7.3

    CVE-2021-20202: A flaw was found in keycloak.

  • High CVSS 7.5

    CVE-2021-20222: A flaw was found in keycloak.

  • High CVSS 7.1

    CVE-2021-3461: A flaw was found in keycloak where keycloak may fail to logout user session if the logout request comes from external SAML identity provider and Principal Type is set to Attribute [Name].

  • High CVSS 7.5

    CVE-2021-3513: A flaw was found in keycloak where a brute force attack is possible even when the permanent lockout feature is enabled.

  • High CVSS 7.5

    CVE-2021-3632: A flaw was found in Keycloak.

  • High CVSS 7.5

    CVE-2021-3637: A flaw was found in keycloak-model-infinispan in keycloak versions before 14.0.0 where authenticationSessions map in RootAuthenticationSessionEntity grows boundlessly which could lead to a DoS attack.

  • High CVSS 8.8

    CVE-2021-4133: A flaw was found in Keycloak in versions from 12.0.0 and before 15.1.1 which allows an attacker with any existing user account to create new default user accounts via the administrative REST API...

  • High CVSS 7.2

    CVE-2022-2668: An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled

  • High CVSS 7.1

    CVE-2023-2422: A flaw was found in Keycloak.

  • High CVSS 8.8

    CVE-2023-4918: A flaw was found in the Keycloak package, more specifically org.keycloak.userprofile.

  • High CVSS 7.1

    CVE-2023-6291: A flaw was found in the redirect_uri validation logic in Keycloak.

  • High CVSS 7.7

    CVE-2023-6563: An unconstrained memory consumption vulnerability was discovered in Keycloak.

  • High CVSS 8.8

    CVE-2023-6787: A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication.

  • High CVSS 7.5

    CVE-2023-6841: A denial of service vulnerability was found in keycloak where the amount of attributes per object is not limited,an attacker by sending repeated HTTP requests could cause a resource exhaustion...

  • High CVSS 8.1

    CVE-2024-1132: A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect.

  • High CVSS 7.1

    CVE-2024-7341: A session fixation issue was discovered in the SAML adapters provided by Keycloak.

  • High CVSS 7.1

    CVE-2025-7365: A flaw was found in Keycloak.

  • High CVSS 8.8

    CVE-2026-3047: A flaw was found in org.keycloak.broker.saml.

  • Medium CVSS 6.1

    CVE-2014-3652: JBoss KeyCloak: Open redirect vulnerability via failure to validate the redirect URL.

  • Medium CVSS 4.3

    CVE-2014-3655: JBoss KeyCloak is vulnerable to soft token deletion via CSRF

  • Medium CVSS 6.5

    CVE-2016-8627: admin-cli before versions 3.0.0.alpha25, 2.2.1.cr2 is vulnerable to an EAP feature to download server log files that allows logs to be available via GET requests making them vulnerable to...

  • Medium CVSS 6.5

    CVE-2016-8629: Red Hat Keycloak before version 2.4.0 did not correctly check permissions when handling service account user deletion requests sent to the rest server.

  • Medium CVSS 6.5

    CVE-2017-2582: It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property.

  • Medium CVSS 5.9

    CVE-2017-2585: Red Hat Keycloak before version 2.5.1 has an implementation of HMAC verification for JWS tokens that uses a method that runs in non-constant time, potentially leaving the application vulnerable to...

  • Medium CVSS 5.4

    CVE-2018-10894: It was found that SAML authentication in Keycloak 3.4.3.Final incorrectly authenticated expired certificates.

  • Medium CVSS 4.9

    CVE-2018-10912: keycloak before version 4.0.0.final is vulnerable to a infinite loop in session replacement.

  • Medium CVSS 5.4

    CVE-2018-14655: A flaw was found in Keycloak 3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final.

  • Medium CVSS 6.1

    CVE-2018-14658: A flaw was found in JBOSS Keycloak 3.2.1.Final.

  • Medium CVSS 5.5

    CVE-2019-10157: It was found that Keycloak's Node.js adapter before version 4.8.3 did not properly verify the web token received from the server in its backchannel logout .

  • Medium CVSS 4.3

    CVE-2019-14820: It was found that keycloak before version 8.0.0 exposes internal adapter endpoints in org.keycloak.constants.AdapterConstants, which can be invoked via a specially-crafted URL.

  • Medium CVSS 4.8

    CVE-2019-3875: A vulnerability was found in keycloak before 6.0.2.

  • Medium CVSS 4.7

    CVE-2020-10686: A flaw was found in Keycloak version 8.0.2 and 9.0.0, and was fixed in Keycloak version 9.0.1, where a malicious user registers as oneself.

  • Medium CVSS 6.1

    CVE-2020-10748: A flaw was found in Keycloak's data filter, in version 10.0.1, where it allowed the processing of data URLs in some circumstances.

  • Medium CVSS 5.3

    CVE-2020-10770: A flaw was found in Keycloak before 13.0.0, where it is possible to force the server to call out an unverified URL using the OIDC parameter request_uri.

  • Medium CVSS 4.8

    CVE-2020-10776: A flaw was found in Keycloak before version 12.0.0, where it is possible to add unsafe schemes for the redirect_uri parameter.

  • Medium CVSS 4.9

    CVE-2020-14302: A flaw was found in Keycloak before 13.0.0 where an external identity provider, after successful authentication, redirects to a Keycloak endpoint that accepts multiple invocations with the use of...

  • Medium CVSS 4.9

    CVE-2020-1694: A flaw was found in all versions of Keycloak before 10.0.0, where the NodeJS adapter did not support the verify-token-audience.

  • Medium CVSS 5.4

    CVE-2020-1697: It was found in all keycloak versions before 9.0.0 that links to external applications (Application Links) in the admin console are not validated properly and could allow Stored XSS attacks.

  • Medium CVSS 5.5

    CVE-2020-1698: A flaw was found in keycloak in versions before 9.0.0.

  • Medium CVSS 4.3

    CVE-2020-1724: A flaw was found in Keycloak in versions before 9.0.2.

  • Medium CVSS 5.4

    CVE-2020-1725: A flaw was found in keycloak before version 13.0.0.

  • Medium CVSS 5.4

    CVE-2020-1727: A vulnerability was found in Keycloak before 9.0.2, where every Authorization URL that points to an IDP server lacks proper input validation as it allows a wide range of characters.

  • Medium CVSS 5.4

    CVE-2020-1728: A vulnerability was found in all versions of Keycloak where, the pages on the Admin Console area of the application are completely missing general HTTP security headers in HTTP-responses.

  • Medium CVSS 5.6

    CVE-2020-1744: A flaw was found in keycloak before version 9.0.1.

  • Medium CVSS 5.9

    CVE-2020-1758: A flaw was found in Keycloak in versions before 10.0.0, where it does not perform the TLS hostname verification while sending emails using the SMTP server.

  • Medium CVSS 4.2

    CVE-2020-27826: A flaw was found in Keycloak before version 12.0.0 where it is possible to update the user's metadata attributes using Account REST API.

  • Medium CVSS 6.5

    CVE-2020-27838: A flaw was found in keycloak in versions prior to 13.0.0.

  • Medium CVSS 5.4

    CVE-2020-35509: A flaw was found in keycloak affecting versions 11.0.3 and 12.0.0.

  • Medium CVSS 6.8

    CVE-2021-20262: A flaw was found in Keycloak 12.0.0 where re-authentication does not occur while updating the password.

  • Medium CVSS 6.1

    CVE-2021-20323: A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.

  • Medium CVSS 5.3

    CVE-2021-3754: A flaw was found in keycloak where an attacker is able to register himself with the username same as the email ID of any existing user.

  • Medium CVSS 6.8

    CVE-2021-3827: A flaw was found in keycloak, where the default ECP binding flow allows other authentication flows to be bypassed.

  • Medium CVSS 4.3

    CVE-2021-3856: ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader.

  • Medium CVSS 5.4

    CVE-2022-0225: A flaw was found in Keycloak.

  • Medium CVSS 5.4

    CVE-2022-1274: A flaw was found in Keycloak in the execute-actions-email endpoint.

  • Medium CVSS 4.8

    CVE-2022-1438: A flaw was found in Keycloak.

  • Medium CVSS 6.5

    CVE-2022-1466: Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be allowed to perform.

  • Medium CVSS 6.8

    CVE-2022-3916: A flaw was found in the offline_access scope in Keycloak.

  • Medium CVSS 6.1

    CVE-2022-4137: A reflected cross-site scripting (XSS) vulnerability was found in the 'oob' OAuth endpoint due to incorrect null-byte handling.

  • Medium CVSS 6.1

    CVE-2022-4361: Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the SAML or OIDC providers.

  • Medium CVSS 6.5

    CVE-2023-0105: A flaw was found in Keycloak.

  • Medium CVSS 5.0

    CVE-2023-0264: A flaw was found in Keycloaks OpenID Connect user authentication, which may incorrectly authenticate requests.

  • Medium CVSS 6.5

    CVE-2023-1664: A flaw was found in Keycloak.

  • Medium CVSS 5.9

    CVE-2023-48795: The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted...

  • Medium CVSS 5.4

    CVE-2023-6134: A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token.

  • Medium CVSS 6.1

    CVE-2023-6927: A flaw was found in Keycloak.

  • Medium CVSS 5.3

    CVE-2024-1722: A flaw was found in Keycloak.

  • Medium CVSS 6.5

    CVE-2024-4629: A vulnerability was found in Keycloak.

  • Medium CVSS 6.1

    CVE-2024-7260: An open redirect vulnerability was found in Keycloak.

  • Medium CVSS 5.3

    CVE-2025-8419: A vulnerability was found in Keycloak-services.

  • Medium CVSS 4.9

    CVE-2026-0871: A flaw was found in Keycloak.

  • Low CVSS 3.8

    CVE-2019-3868: Keycloak up to version 6.0.0 allows the end user token (access or id token JWT) to be used as the session cookie for browser sessions for OIDC.

  • Low CVSS 3.3

    CVE-2020-10734: A vulnerability was found in keycloak in the way that the OIDC logout endpoint does not have CSRF protection.

  • Low CVSS 2.7

    CVE-2020-1717: A flaw was found in Keycloak 7.0.1.

  • Low CVSS 3.8

    CVE-2023-0091: A flaw was found in Keycloak, where it did not properly check client tokens for possible revocation in its client credential flow.

  • Low CVSS 3.1

    CVE-2025-12150: A flaw was found in Keycloak’s WebAuthn registration component.

  • Low CVSS 2.7

    CVE-2025-5416: A vulnerability has been identified in Keycloak that could lead to unauthorized information disclosure.

Check your whole project

Keycloak is one package among hundreds in a lockfile. Upload your lockfile, or paste a public GitHub repository, and get every vulnerable package with the version that fixes it. Free, and no account needed.

About this data

Vulnerability data: the NVD. Licences: deps.dev. These pages list the versions AIssue checks every day for the projects it monitors, not every version ever released.