Keycloak: what a daily scan of 135 versions shows

We scan every published Keycloak image every day. 84 of 135 versions carry a CVE from the KEV catalog, and recent versions drop fast in critical and high findings. How to pick yours.

Capa com o nome Keycloak, os números 84 versões com KEV, 26.8.2 com zero críticas e 2.992 CVEs, ao lado do desenho de uma chave com o miolo em vermelho
A versão que você roda importa mais do que a linha em que ela está.

Keycloak is usually the front door to everything: it decides who is who before any other system opens a screen. That's why the image running Keycloak deserves the same attention as the login flow itself.

On the public Keycloak showcase, Leavory scans every image published to quay.io/keycloak/keycloak every day and shows the result per version. This article sums up what that scan shows today: where the exploited vulnerabilities are, how the count changes from one version to the next, and how to use that to pick the version you run. The figures come from the November 14, 2026 scan.

Why Keycloak deserves priority

An identity server isn't like any other service. It holds accounts, sessions, token signing keys and often the federation setup with other providers. When something goes wrong there, the problem doesn't stay in one system: it reaches every system that trusts the tokens it issues.

At the same time, Keycloak often falls behind on upgrades. It "works", almost nobody touches it day to day, and changing versions is scary because a mistake locks everyone out of login. The result is an image that ages quietly while the vulnerability databases keep growing.

That's why looking at the version in use, not only at the configuration, is part of looking after the front door.

The big picture

IndicatorValue
Image versions analyzed135
Versions with at least one CVE in the KEV catalog84
Distinct KEV CVEs found across the set9
Distinct CVEs across the set, any severity2,992
Newest version26.8.2
Version suggested by the showcase26.8.2

Two things stand out. First: more than half of the published versions carry at least one CVE that CISA's KEV catalog lists as actually exploited. Second: that doesn't happen in recent versions. Across the 40 newest versions on the showcase, from 26.2.1 to 26.8.2, none has a KEV CVE.

Keycloak versions analyzed, with and without a CVE in the KEV catalogversions
Keycloak versions analyzed, with and without a CVE in the KEV catalog
Versions
With a KEV CVE84
Without a KEV CVE51

Leavory Keycloak showcase, scan of Nov 14, 2026

Where the exploited CVEs are

The showcase highlights the most recent version with a KEV CVE: 26.1.1, where CVE-2020-11023 shows up. Across all 135 versions, the nine KEV CVEs found are:

  • CVE-2020-11023
  • CVE-2020-15999
  • CVE-2021-30661
  • CVE-2021-39144
  • CVE-2023-44487
  • CVE-2023-4911
  • CVE-2025-27363
  • CVE-2025-48384
  • CVE-2026-111497

Being in KEV means there is reliable evidence of active exploitation. The details of each one are in CISA's Known Exploited Vulnerabilities catalog, and the showcase shows which versions each CVE appears in.

If you run 26.1.x or older, start here. That's the range where the scan finds KEV CVEs. From 26.2.1 on, none of the 40 versions analyzed has a CVE from the catalog.

How the count drops from one line to the next

Looking only at the last version of each line, from 26.2 to 26.8, the drop is steady. Critical findings go from 8 to zero; high ones fall from 97 to 7.

Critical, high and medium CVEs in the last version of each Keycloak lineCVEs

CriticalHighMedium

Critical, high and medium CVEs in the last version of each Keycloak line
CriticalHighMedium
26.2.5897252
26.3.5892232
26.4.7890224
26.5.7876211
26.6.4646156
26.7.511595
26.8.20743

Leavory Keycloak showcase, scan of Nov 14, 2026

The biggest jump is between 26.5 and 26.7. That's where high findings fall from 76 to 15 and critical ones from 8 to 1.

The patch version counts too

It isn't only the line that matters: patch versions within the same line change the picture a lot. In the 26.7 line, for example:

VersionCriticalHighMediumLow
26.7.064413542
26.7.252710241
26.7.452710141
26.7.51159541

Moving from 26.7.4 to 26.7.5 takes you from 5 critical findings to 1 without changing lines. It's usually the cheapest upgrade there is: same line, same behavior, less risk.

The versions worth a look

VersionRoleKEV CVEsCriticalHighMediumLow
26.8.2Newest and suggested0074328
26.8.1Current line0187137
26.8.0Current line01149341
26.7.5Last of the previous line01159541
26.6.4Last of 26.6064615645
26.2.1Oldest without KEV on the showcase089825872
26.1.1Most recent with a KEV CVE1————

For 26.1.1, the showcase highlights the KEV CVE. The other counts for that version aren't part of the summary we used here; they're on the showcase itself.

How to pick your version

  1. Find out what's running. The image tag in each environment, test ones included, which tend to fall behind.
  2. Leave the KEV range first. If your version is 26.1.x or older, that's the priority, before any other discussion.
  3. Prefer the last patch version of your line. Within one line the difference can be large, as 26.7 shows.
  4. Plan a line change calmly. Changing lines can bring behavior changes: read the project's release notes and test the login flow first.
  5. Pin the image by digest. The same tag can gain new CVEs over time, because vulnerability databases change every day, not the image.

A clean image today isn't a certificate. It's a dated test result.

What the numbers don't say

  • A CVE count isn't the same as risk in your environment. A CVE in a package Keycloak doesn't use at runtime weighs less than the number suggests.
  • The showcase looks at the official image. If you build your own image on top of it, with themes, extensions or another base, your picture is different.
  • The numbers change every day. This article uses the November 14, 2026 scan; the showcase shows today's.

A routine that fits in a month

If you don't want to turn this into a project, a simple routine covers most of it:

  • Every week: check whether a patch version came out for the line you use and whether its count dropped.
  • Every month: apply the latest patch version of your line, in test first, then in production.
  • Every two or three months: consider moving to a newer line, with time to read the release notes and test the login, federation and theme flows.
  • Any time: if a KEV CVE shows up in your version, it jumps ahead of everything else.

Where Leavory fits

The Keycloak showcase is the same engine we use for customers, opened to the public for a well-known image: a daily scan of every version, KEV CVEs first and a suggested version. For the images you run, Leavory Image Scan does the same daily follow-up and warns you when an image already in production picks up a new CVE.

Sources

Written by

Leavory Team Leavory team

Engineering and security at Leavory

The people who build Leavory. We write about what we learn running vulnerability management, pipelines and Kubernetes for our customers and for ourselves.

LinkedIn

See Leavory in action.

Tell us which platform you use, and an engineer, not a sales bot, will reach out to schedule a demo.

Which platform do you use?

A real conversation with an engineer.