Skip to content
Noroxi
CVE-2023-6544· NVD / CVE Program· CNA redhat

Keycloak: authorization bypass

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.

MediumCVSS 5.4 · v3.1—No exploit Fix available
Published
Apr 25, 2024
Updated
Jun 17, 2026
EPSS
1.1% · 64th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

21

Monitor

Low priority for now.

CVSS
21 / 40 · 5.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.1%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · redhat
5.4
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • github.com/keycloak/keycloak org.keycloak:keycloak-services

    • 22.0.0 and later · before 22.0.10affected · semver
    • 23.0.0 and later · before 24.0.3affected · semver
  • Red Hat Red Hat build of Keycloak 22

    • 22.0.10-1 and laternot affected · rpm
    • 22-13 and laternot affected · rpm
    • 22-16 and laternot affected · rpm
  • Red Hat Red Hat build of Keycloak 22.0.10

    • all versionsunknown
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 7

    • 0:18.0.13-1.redhat_00001.1.el7sso and laternot affected · rpm
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 8

    • 0:18.0.13-1.redhat_00001.1.el8sso and laternot affected · rpm
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 9

    • 0:18.0.13-1.redhat_00001.1.el9sso and laternot affected · rpm
  • Red Hat RHEL-8 based Middleware Containers

    • 7.6-46 and laternot affected · rpm
  • Red Hat RHSSO 7.6.8

    • all versionsunknown

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Mavenorg.keycloak:keycloak-servicesfrom 23.0.0 · before 24.0.324.0.3
Mavenorg.keycloak:keycloak-servicesbefore 22.0.1022.0.10
Red Hat:red_hat_single_sign_on:7.6::el7rh-sso7-keycloakbefore 0:18.0.13-1.redhat_00001.1.el7sso0:18.0.13-1.redhat_00001.1.el7sso
Red Hat:red_hat_single_sign_on:7.6::el7rh-sso7-keycloak-serverbefore 0:18.0.13-1.redhat_00001.1.el7sso0:18.0.13-1.redhat_00001.1.el7sso
Red Hat:red_hat_single_sign_on:7.6::el8rh-sso7-keycloakbefore 0:18.0.13-1.redhat_00001.1.el8sso0:18.0.13-1.redhat_00001.1.el8sso
Red Hat:red_hat_single_sign_on:7.6::el8rh-sso7-keycloak-serverbefore 0:18.0.13-1.redhat_00001.1.el8sso0:18.0.13-1.redhat_00001.1.el8sso
Red Hat:red_hat_single_sign_on:7.6::el9rh-sso7-keycloakbefore 0:18.0.13-1.redhat_00001.1.el9sso0:18.0.13-1.redhat_00001.1.el9sso
Red Hat:red_hat_single_sign_on:7.6::el9rh-sso7-keycloak-serverbefore 0:18.0.13-1.redhat_00001.1.el9sso0:18.0.13-1.redhat_00001.1.el9sso

Other highest-scoring records for the same primary product.

  • CVE-2024-2419Keycloak: path traversal in the redirect validation
    28Monitor
  • CVE-2023-6484Keycloak: log injection during webauthn authentication or registration
    21Monitor
  • CVE-2023-3597Keycloak: secondary factor bypass in step-up authentication
    20Monitor
  • CVE-2023-0657Keycloak: impersonation via logout token exchange
    13Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
github.com/keycloak/keycloak org.keycloak:keycloak-services22.0.10Vendor (CNA)
github.com/keycloak/keycloak org.keycloak:keycloak-services24.0.3Vendor (CNA)
Maven:org.keycloak:keycloak-services22.0.10Package registry (OSV)
Maven:org.keycloak:keycloak-services24.0.3Package registry (OSV)
red hat:rh-sso7-keycloak0:18.0.13-1.redhat_00001.1.el7sso · Red Hat:red_hat_single_sign_on:7.6::el7Package registry (OSV)
red hat:rh-sso7-keycloak-server0:18.0.13-1.redhat_00001.1.el7sso · Red Hat:red_hat_single_sign_on:7.6::el7Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

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

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records