CVE-2023-4727
Keycloak vulnerability analysis and mitigation

Overview

CVE-2023-4727 is a security vulnerability discovered in dogtag-pki and pki-core affecting their token authentication scheme. The vulnerability was disclosed and patches began being released in June 2024. The flaw affects multiple versions of Red Hat Enterprise Linux and Red Hat Certificate System (Red Hat CVE).

Technical details

The vulnerability allows bypassing the token authentication scheme through LDAP injection. An attacker can authenticate with an existing session saved in the LDAP directory server by passing the query string parameter sessionID=*. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with the vector string CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. The vulnerability is classified as CWE-305 (Authentication Bypass by Primary Weakness) (Red Hat CVE).

Impact

If exploited, this vulnerability could lead to escalation of privilege by allowing an attacker to authenticate with existing sessions in the LDAP directory server. The high CVSS score indicates potential severe impacts on confidentiality, integrity, and availability of the affected systems (Red Hat CVE).

Exploitability

The vulnerability requires an adjacent network attack vector and high attack complexity, but no privileges or user interaction. The attack can be performed by manipulating the sessionID parameter to exploit the LDAP injection vulnerability (Red Hat CVE).

Mitigation and workarounds

Red Hat has released security updates to address this vulnerability across multiple product versions. Fixes have been implemented in the upstream repository through commits to the master branch and v11.5 branch. Users are advised to apply the security updates provided through various RHSA advisories (Red Hat CVE, Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Keycloak vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-18963CRITICAL9.1
  • Java logoJava
  • keycloak
NoYesAug 18, 2026
CVE-2026-55858MEDIUM5.9
  • Java logoJava
  • debezium-3.5
NoYesAug 28, 2026
CVE-2026-55857MEDIUM5.9
  • Java logoJava
  • camunda-zeebe-8.8
NoYesAug 28, 2026
CVE-2026-55856MEDIUM5.9
  • Java logoJava
  • org.mariadb.jdbc:mariadb-java-client
NoYesAug 28, 2026
CVE-2026-73508MEDIUM5.3
  • Java logoJava
  • management-api-5.0
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management