CVE-2023-3597: keycloak · Improper Authentication
Affects keycloakSource CVE Database V5
Not known to be exploited · CVSS 5.0 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- 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:LExploitation 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-25.
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 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
- 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-3597 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2221760 (opens in a new tab)