---
id: CVE-2026-1486
title: A flaw was found in Keycloak
summary: >-
  A flaw was found in Keycloak. A vulnerability exists in the
  jwt-authorization-grant flow where the server fails to verify if an Identity
  Provider (IdP) is enabled before issuing tokens. The issuer lookup mechanism
  (lookupIdentityProvider…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-358
  - CWE-358
published: '2026-02-09'
updated: '2026-06-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-1486'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:2365'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:2366'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-1486'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2433347'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:2365'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:2366'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-1486'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2433347'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1486.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
epss: 0.00457
epssPercentile: 0.3712
ingestedAt: '2026-07-03T18:53:52.185Z'
---

## Overview

A flaw was found in Keycloak. A vulnerability exists in the jwt-authorization-grant flow where the server fails to verify if an Identity Provider (IdP) is enabled before issuing tokens. The issuer lookup mechanism (lookupIdentityProviderFromIssuer) retrieves the IdP configuration but does not filter for isEnabled=false. If an administrator disables an IdP (e.g., due to a compromise or offboarding), an entity possessing that IdP's signing key can still generate valid JWT assertions that Keycloak accepts, resulting in the issuance of valid access tokens.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
