Skip to main content
CVE-2023-3597VulnerabilityPublished Updated

CVE-2023-3597: keycloak · Improper Authentication

Affects keycloakSource CVE Database V5

0

Not known to be exploited · CVSS 5.0 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
5.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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-25.

What to do

Affected software

ProductAffectedFixed in
Mavenorg.keycloak/keycloakpkg:maven/org.keycloak/keycloakOther threatsAffected
  • =0
  • =23.0.0
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 vendor communications closely for official patches addressing CVE-2023-3597 and apply them promptly upon release. 2. Until patches are available, review and harden authentication flows, particularly the step-up authentication logic, to detect and block anomalous second-factor registrations. 3. Implement enhanced logging and alerting on MFA enrollment and changes to detect suspicious activity early. 4. Conduct regular audits of user authentication methods and revoke any unrecognized or suspicious second-factor credentials. 5. Enforce strict access controls and credential hygiene to minimize the risk of initial password compromise. 6. Consider deploying additional compensating controls such as network segmentation and anomaly detection to limit the impact of potential unauthorized access. 7. Educate administrators and users about the risk and encourage prompt reporting of unusual authentication behavior. 8. Evaluate alternative or supplementary identity providers if immediate patching is not feasible.

Description

A flaw was found in Keycloak, where it does not correctly validate its client step-up authentication in org.keycloak.authentication. This flaw allows a remote user authenticated with a password to register a false second authentication factor along with an existing one and bypass authentication.

References

Community reviews

Loading reviews…