Medium

Keycloak has Incorrect Behavior Order: Authorization Before Parsing and Canonicalization

  • Disclosed: 08.01.2026
  • Updated: 11.10.2026 12:22

A flaw was found in Keycloak. The Keycloak Authorization header parser is overly permissive regarding the formatting of the "Bearer" authentication scheme. It accepts non-standard characters (such as tabs) as separators and tolerates case variations that deviate from RFC 6750 specifications.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.keycloak:keycloak-parent <= 26.5.0 no fix

References

CVSS score 5.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness (CWE)
CWE-551
Platform
Java / Kotlin (Maven)
Package
org.keycloak:keycloak-parent
Disclosed
08.01.2026
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-gv94-wp4h-vv8p - CC BY 4.0

Vulnerability history: org.keycloak:keycloak-parent

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (26) in the archive
Total entries
26
First → latest
05.2021 02.2026
Without a fix
6
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 12
  • Medium 10
  • Low 2

Disclosures per year

  1. 2021: 1
  2. 2022: 22
  3. 2023: 1
  4. 2024: 0
  5. 2025: 0
  6. 2026: 2
Severity:
  1. Keycloak has Incorrect Behavior Order: Authorization Before Parsing and Canonicalization this entry
    Medium · 5.3 CVE-2026-0707 <= 26.5.0 no fix
  2. High · 8.1 CVE-2022-4137 < 20.0.5 20.0.5
  3. Critical · 9.1 CVE-2022-3782 < 20.0.2 20.0.2
  4. High · 7.5 CVE-2021-3513 < 13.0.0 13.0.0
  5. Critical · 9.8 CVE-2019-14910 >= 7.0.0, <= 7.0.1 no fix
  6. High · 8.3 CVE-2019-14909 >= 7.0.0, <= 7.0.1 no fix
  7. High · 7.5 CVE-2017-12159 < 3.4.0 3.4.0
  8. High · 7.2 CVE-2017-12160 < 3.3.0.Final 3.3.0.Final
  9. High · 8.1 CVE-2018-14657 < 4.6.0.Final 4.6.0.Final
  10. High · 7.1 CVE-2021-3461 < 14.0.0 14.0.0
  11. High · 7.5 CVE-2020-14366 < 12.0.0 12.0.0
  12. High · 7.5 CVE-2020-10758 < 11.0.1 11.0.1
  13. High · 8.3 CVE-2021-20222 >= 9.0.0, < 12.0.3 12.0.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.