CVE-2023-6544: keycloak · Permissive Regular Expression
Affects keycloakSource CVE Database V5
Not known to be exploited · CVSS 5.4 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 64% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.keycloak/keycloakpkg:maven/org.keycloak/keycloakOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Monitor Keycloak dynamic client registrations closely for any unauthorized or suspicious activity, including unexpected new clients. 2. Review and tighten TrustedDomain configurations to restrict allowed hosts explicitly, avoiding overly permissive patterns or wildcards in regular expressions. 3. Limit authenticated user privileges to only those necessary for their roles to reduce the risk of exploitation by low-privilege users. 4. Implement network segmentation and access controls to restrict who can interact with the Keycloak server, minimizing exposure. 5. Stay updated with Keycloak vendor advisories and apply security patches promptly once released. 6. Conduct regular security audits and penetration testing focusing on identity management components. 7. Employ anomaly detection tools to identify unusual client registration patterns or authentication flows. 8. Educate administrators and developers about secure configuration practices for Dynamic Client Registration and TrustedDomain settings.
Description
A flaw was found in the Keycloak package. This issue occurs due to a permissive regular expression hardcoded for filtering which allows hosts to register a dynamic client. A malicious user with enough information about the environment could jeopardize an environment with this specific Dynamic Client Registration and TrustedDomain configuration previously unauthorized.
References
- access.redhat.com/errata/RHSA-2024:1860 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1861 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1862 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1864 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1866 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1867 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1868 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2023-6544 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2253116 (opens in a new tab)