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-2026-9704

published medium CVSS 3.1 · 6.8

Keycloak: keycloak: privilege escalation due to oversized subject_token jwt

Published
27 May 2026, 12:56:00 UTC
Updated
26 Jun 2026, 06:46:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.4 · 26.4.13-1 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4 · 26.4-19 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.4 · 26.4-19 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4.13 Unaffected Not required redhat
Red Hat — rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.6 · 26.6.3-3 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6 · 26.6-6 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.6 · 26.6-6 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6.3 Unaffected Not required redhat

Description

A flaw was found in Keycloak. An authenticated user with low privileges can exploit this vulnerability by sending an oversized subject_token JSON Web Token (JWT) to the TokenEndpoint. When the token exceeds a 4000-character limit, it is silently dropped, causing the system to fall back to client credentials. This allows the user to gain the permissions of the client's service account, leading to privilege escalation.

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.8 / 10
Severity
medium
Provider
redhat · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Red Hat Red Hat build of Keycloak 26.4 26.4.13-1 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.4 26.4-19 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.4 26.4-19 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.4.13 Default: unaffected redhat · cna
Red Hat Red Hat build of Keycloak 26.6 26.6.3-3 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.6 26.6-6 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.6 26.6-6 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat build of Keycloak 26.6.3 Default: unaffected redhat · cna

Weaknesses

1
  • CWE-1284 Improper Validation of Specified Quantity in Input (redhat · cna)

References

6
  • RHSA-2026:25097 https://access.redhat.com/errata/RHSA-2026:25097 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2026:25098 https://access.redhat.com/errata/RHSA-2026:25098 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2026:30049 https://access.redhat.com/errata/RHSA-2026:30049 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • RHSA-2026:30050 https://access.redhat.com/errata/RHSA-2026:30050 vendor-advisory, x_refsource_REDHAT Contributors: redhat (cna)
  • https://access.redhat.com/security/cve/CVE-2026-9704 vdb-entry, x_refsource_REDHAT Contributors: redhat (cna)
  • RHBZ#2481877 https://bugzilla.redhat.com/show_bug.cgi?id=2481877 issue-tracking, x_refsource_REDHAT Contributors: redhat (cna)

Provider assertions

2

redhat · cna

Keycloak: keycloak: privilege escalation due to oversized subject_token jwt

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
6d3779eb7953d8774ad37073849fc99218054eda2e8a955744aa02f3672cf777
Ingested
23 Sep 2026, 09:41:39 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