SCA: security update for org.keycloak:keycloak-services (GHSA-rp95-xpg9-c2cq)

high Tenable Cloud Security Plugin ID 442646

Description

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

- A flaw was found in Keycloak's URL validation logic during redirect operations. By crafting a malicious
request, an attacker could bypass validation to redirect users to unauthorized URLs, potentially leading
to the exposure of sensitive information within the domain or facilitating further attacks. This
vulnerability specifically affects Keycloak clients configured with a wildcard (*) in the "Valid Redirect
URIs" field and requires user interaction to be successfully exploited. The issue stems from a discrepancy
in how Keycloak and the underlying Java URI implementation handle the user-info component of a URL. If a
malicious redirect URL is constructed using multiple @ characters in the user-info section, Java's URI
parser fails to extract the user-info, leaving only the raw authority field. Consequently, Keycloak's
validation check fails to detect the malformed user-info, falls back to a wildcard comparison, and
incorrectly permits the malicious redirect. (CVE-2026-7504)

Solution

Update the org.keycloak:keycloak-services library and its related packages to version 26.6.2 or later.

See Also

https://github.com/advisories/GHSA-rp95-xpg9-c2cq

Plugin Details

Severity: High

ID: 442646

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 6/4/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.66

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

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

CVSS Score Source: CVE-2026-7504

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/19/2026

Vulnerability Publication Date: 5/19/2026

Reference Information

CVE: CVE-2026-7504

cwe: CWE-601