SCA: security update for org.keycloak:keycloak-server-spi-private, org.keycloak:keycloak-services (GHSA-rr5q-3xwr-f323)

high Tenable Cloud Security Plugin ID 444226

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-9704)

Solution

Update the org.keycloak:keycloak-server-spi-private library and its related packages to version 26.6.3 or later.

See Also

https://github.com/advisories/GHSA-rr5q-3xwr-f323

Plugin Details

Severity: High

ID: 444226

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/1/2026

Updated: 7/1/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.94

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-9704

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/27/2026

Vulnerability Publication Date: 5/21/2026

Reference Information

CVE: CVE-2026-9704