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.
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
| Indicator | Value |
|---|---|
| Image versions analyzed | 135 |
| Versions with at least one CVE in the KEV catalog | 84 |
| Distinct KEV CVEs found across the set | 9 |
| Distinct CVEs across the set, any severity | 2,992 |
| Newest version | 26.8.2 |
| Version suggested by the showcase | 26.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.
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.
CriticalHighMedium
| Critical | High | Medium | |
|---|---|---|---|
| 26.2.5 | 8 | 97 | 252 |
| 26.3.5 | 8 | 92 | 232 |
| 26.4.7 | 8 | 90 | 224 |
| 26.5.7 | 8 | 76 | 211 |
| 26.6.4 | 6 | 46 | 156 |
| 26.7.5 | 1 | 15 | 95 |
| 26.8.2 | 0 | 7 | 43 |
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:
| Version | Critical | High | Medium | Low |
|---|---|---|---|---|
| 26.7.0 | 6 | 44 | 135 | 42 |
| 26.7.2 | 5 | 27 | 102 | 41 |
| 26.7.4 | 5 | 27 | 101 | 41 |
| 26.7.5 | 1 | 15 | 95 | 41 |
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
| Version | Role | KEV CVEs | Critical | High | Medium | Low |
|---|---|---|---|---|---|---|
| 26.8.2 | Newest and suggested | 0 | 0 | 7 | 43 | 28 |
| 26.8.1 | Current line | 0 | 1 | 8 | 71 | 37 |
| 26.8.0 | Current line | 0 | 1 | 14 | 93 | 41 |
| 26.7.5 | Last of the previous line | 0 | 1 | 15 | 95 | 41 |
| 26.6.4 | Last of 26.6 | 0 | 6 | 46 | 156 | 45 |
| 26.2.1 | Oldest without KEV on the showcase | 0 | 8 | 98 | 258 | 72 |
| 26.1.1 | Most recent with a KEV CVE | 1 | — | — | — | — |
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
- Find out what's running. The image tag in each environment, test ones included, which tend to fall behind.
- Leave the KEV range first. If your version is 26.1.x or older, that's the priority, before any other discussion.
- Prefer the last patch version of your line. Within one line the difference can be large, as 26.7 shows.
- Plan a line change calmly. Changing lines can bring behavior changes: read the project's release notes and test the login flow first.
- 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
- Leavory Keycloak showcase, scan of Nov 14, 2026
- Known Exploited Vulnerabilities catalog, CISA