Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-6787

published medium CVSS 3.1 · 6.5

Keycloak: session hijacking via re-authentication

Published
25 Apr 2024, 16:02:32 UTC
Updated
11 Nov 2025, 15:57:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Not stated — keycloak0 to < 22.0.10 · 0 to < 24.0.3 Affected Not stated redhat
Red Hat — rhbk/keycloak-operator-bundleRed Hat build of Keycloak 22 · 22.0.10-1 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 22 · 22-13 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 22 · 22-16 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — keycloak-coreRed Hat build of Keycloak 22.0.10 Unaffected Not required redhat
Red Hat — rh-sso7-keycloakRed Hat Single Sign-On 7 Affected Not stated redhat

Description

A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter "prompt=login," prompting the user to re-enter their credentials. If the user cancels this re-authentication by selecting "Restart login," an account takeover may occur, as the new session, with a different SUB, will possess the same SID as the previous session.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
redhat · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
keycloak 0 to < 22.0.10 (affected · semver)0 to < 24.0.3 (affected · semver) redhat · cna
Red Hat Red Hat build of Keycloak 22 22.0.10-1 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 22 22-13 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 22 22-16 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 22.0.10 Default: unaffected redhat · cna
Red Hat Red Hat Single Sign-On 7 Default: affected redhat · cna

Weaknesses

2
  • CWE-287 Improper Authentication (redhat · cna)
  • CWE-287 CWE-287 Improper Authentication (CISA-ADP · adp)

References

5

Provider assertions

3

redhat · cna

Keycloak: session hijacking via re-authentication

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
9fa9272ae624bc0973dc1075dc150752759a88908b1c9df290a7115ab3357717
Ingested
23 Sep 2026, 08:15:54 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected