Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-ldap-federation
  4. ›
  5. CVE-2026-9801

CVE-2026-9801: Keycloak Vulnerable to Improper Validation of Specified Quantity in Input

May 28, 2026 (updated July 1, 2026)

A flaw was found in Keycloak. A remote attacker with high privileges, such as a realm administrator configuring a malicious Lightweight Directory Access Protocol (LDAP) server or an attacker compromising an upstream LDAP server, could exploit this vulnerability. By sending a malformed LDAP password policy response during a password authentication request, the attacker can trigger an OutOfMemoryError. This causes the Keycloak Java Virtual Machine (JVM) to terminate, leading to a denial of service (DoS) for all realms on the affected node.

References

  • access.redhat.com/errata/RHSA-2026:25097
  • access.redhat.com/errata/RHSA-2026:25098
  • access.redhat.com/errata/RHSA-2026:30049
  • access.redhat.com/errata/RHSA-2026:30050
  • access.redhat.com/security/cve/CVE-2026-9801
  • bugzilla.redhat.com/show_bug.cgi?id=2482473
  • github.com/advisories/GHSA-f6r7-6w34-x2gp
  • github.com/keycloak/keycloak/commit/2c4fe42235ba8c265b1da3a30541a270d5bd8c39
  • github.com/keycloak/keycloak/issues/49434
  • github.com/keycloak/keycloak/pull/49514
  • nvd.nist.gov/vuln/detail/CVE-2026-9801

Code Behaviors & Features

Detect and mitigate CVE-2026-9801 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.6.3

Fixed versions

  • 26.6.3

Solution

Upgrade to version 26.6.3 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1284: Improper Validation of Specified Quantity in Input

Source file

maven/org.keycloak/keycloak-ldap-federation/CVE-2026-9801.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 19 Jul 2026 12:18:34 +0000.