{"id":"CVE-2023-6544","aliases":["CVE-2023-6544","GHSA-46c8-635v-68r2"],"related":[],"kind":"vulnerability","state":"published","title":"Keycloak: authorization bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Due to a permissive regular expression hardcoded for filtering allowed hosts to register a dynamic client, a malicious user with enough information about the environment could benefit and jeopardize an environment with this specific Dynamic Client Registration with TrustedDomain configuration previously unauthorized.\n\n#### Acknowledgements:\nSpecial thanks to Bastian Kanbach for reporting this issue and helping us improve our security.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró una falla en el paquete Keycloak. Este problema se produce debido a una expresión regular permisiva codificada para el filtrado que permite a los hosts registrar un cliente dinámico. Un usuario malintencionado con suficiente información sobre el entorno podría poner en peligro un entorno con este registro dinámico de cliente específico y esta configuración de TrustedDomain previamente no autorizada.","source":"nvd"}],"published":"2024-04-17T17:33:29.000Z","modified":"2026-09-10T03:50:11.170Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-625"],"affected":[{"ranges":[{"type":"semver","introduced":"22.0.0","fixed":"22.0.10","status":"affected"},{"type":"semver","introduced":"23.0.0","fixed":"24.0.3","status":"affected"}],"package":"org.keycloak:keycloak-services","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"22.0.10-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"22-13","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"22-16","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:22::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22.0.10","package":"keycloak-core","cpe":"cpe:/a:redhat:build_keycloak:22","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:18.0.13-1.redhat_00001.1.el7sso","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 7","package":"rh-sso7-keycloak","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6::el7","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:18.0.13-1.redhat_00001.1.el8sso","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 8","package":"rh-sso7-keycloak","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:18.0.13-1.redhat_00001.1.el9sso","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 9","package":"rh-sso7-keycloak","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"7.6-46","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"RHEL-8 based Middleware Containers","package":"rh-sso-7/sso76-openshift-rhel8","cpe":"cpe:/a:redhat:rhosemc:1.0::el8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"RHSSO 7.6.8","package":"rh-sso7-keycloak","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"22.0.10"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"23.0.0","status":"affected","fixed":"24.0.3"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"ghsa"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:1860","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1861","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1862","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1864","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1866","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1867","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1868","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6544","tags":["vdb-entry","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2253116","tags":["issue-tracking","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-46c8-635v-68r2","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6544","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"],"sources":["ghsa"]}],"credits":["Red Hat would like to thank Bastian Kanbach (Secure Systems DE [bastian.kanbach@securesystems.de]) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-25T19:19:09.097Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-6544","url":"https://www.cve.org/CVERecord?id=CVE-2023-6544","licence":"CVE Terms of Use","modified":"2025-11-11T15:57:26.470Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-46c8-635v-68r2","url":"https://github.com/advisories/GHSA-46c8-635v-68r2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.170Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-6544","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6544","licence":"Public domain","modified":"2026-06-17T06:50:57.267Z"}],"updatedAt":"2026-11-25T22:58:33.580Z","epss":{"score":0.01075,"percentile":0.65905,"date":"2026-12-01T12:00:22.000Z"}}