patchminder
Proof of concept · GitHub CVE-2023-0264

Vulnerabilityin redhat.com Keycloak.

Published 4 Aug 2023 · Updated 2 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 8.7
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 18.0.6, 21.0.1
In plain words

A flaw was found in Keycloaks OpenID Connect user authentication, which may incorrectly authenticate requests. An authenticated attacker who could obtain information from a user request within the same realm could use that data to impersonate the victim and generate new session tokens. This issue could impact confidentiality, integrity, and availability.

What to do now
  • Upgrade Keycloak to 18.0.6 or later.
  • Upgrade org.keycloak:keycloak-services (Maven) to 21.0.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Keycloak
18.0.6 to before 18.0.6
18.0.6
CVE record
org.keycloak:keycloak-services (Maven)
before 21.0.1
21.0.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 12 Jan 2023
    CVE ID reserved by redhat.
  2. 6 Mar 2023
    First public proof of concept on GitHub.
  3. 4 Aug 2023
    Published in the CVE List.
  4. 2 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
3 repositories
GitHubno warning signs foundtwwd/CVE-2023-02647 stars · created 6 Mar 2023A small PoC for the Keycloak vulnerability CVE-2023-0264
GitHubno warning signs foundElianGonzi00/pocKeycloakCVE-2023-02640 stars · created 28 Jul 2026
GitHubno warning signs foundiam-s21-caece/PoC-CVE-2023-02640 stars · created 6 Nov 2026

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Keycloak vulnerabilities

References
Cite this page

Patchminder. CVE-2023-0264: Vulnerability in redhat.com Keycloak. https://patchminder.com/cve/cve-2023-0264/ (accessed 5 December 2026).