Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-7504— Org.keycloak/keycloak-services: open redirect when using wildcard valid redirect uris in keycloak

Quick assessment

Affected
Red Hat Red Hat build of Keycloak 26.2
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Keycloak是Keycloak开源的一种开源身份和访问管理解决方案。 Keycloak存在输入验证错误漏洞,该漏洞源于URL验证逻辑在重定向操作中存在差异,可能导致攻击者绕过验证将用户重定向到未授权URL,造成敏感信息泄露。

CVSS 8.1 · High EPSS 0.50% · P41

Affected Version Matrix 8

VendorProduct Version RangeStatus
Red Hat Red Hat build of Keycloak 26.2 26.2.16-1< * unaffected
26.2-21< * unaffected
26.2-21< * unaffected
Red Hat Red Hat build of Keycloak 26.2.16 any unaffected
Red Hat Red Hat build of Keycloak 26.4 26.4.12-1< * unaffected
26.4-17< * unaffected
26.4-17< * unaffected
Red Hat Red Hat build of Keycloak 26.4.12 any unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-7504

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Org.keycloak/keycloak-services: open redirect when using wildcard valid redirect uris in keycloak
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: CVE Program / CVE List V5
Vulnerability Title
Keycloak 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Keycloak是Keycloak开源的一种开源身份和访问管理解决方案。 Keycloak存在输入验证错误漏洞,该漏洞源于URL验证逻辑在重定向操作中存在差异,可能导致攻击者绕过验证将用户重定向到未授权URL,造成敏感信息泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Red Hat Red Hat build of Keycloak 26.2 26.2.16-1 ~ * cpe:/a:redhat:build_keycloak:26.2::el9
Red Hat Red Hat build of Keycloak 26.2 26.2-21 ~ * cpe:/a:redhat:build_keycloak:26.2::el9
Red Hat Red Hat build of Keycloak 26.2 26.2-21 ~ * cpe:/a:redhat:build_keycloak:26.2::el9
Red Hat Red Hat build of Keycloak 26.2.16 - cpe:/a:redhat:build_keycloak:26.2::el9
Red Hat Red Hat build of Keycloak 26.4 26.4.12-1 ~ * cpe:/a:redhat:build_keycloak:26.4::el9
Red Hat Red Hat build of Keycloak 26.4 26.4-17 ~ * cpe:/a:redhat:build_keycloak:26.4::el9
Red Hat Red Hat build of Keycloak 26.4 26.4-17 ~ * cpe:/a:redhat:build_keycloak:26.4::el9
Red Hat Red Hat build of Keycloak 26.4.12 - cpe:/a:redhat:build_keycloak:26.4::el9

II. Public POCs for CVE-2026-7504

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-7504

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-7504 (6)

Same Patch Batch · Red Hat · 2026-05-19 · 10 CVEs total

CVE-2026-7507 7.5 HIGH Org.keycloak/keycloak-services: session fixation in oidc login flow that can lead to accou
CVE-2026-7571 7.1 HIGH Keycloak: keycloak: access token disclosure and implicit flow bypass via forged client dat
CVE-2026-4630 6.8 MEDIUM Keycloak: keycloak: unauthorized resource access and data modification via insecure direct
CVE-2026-37982 6.8 MEDIUM Keycloak: org.keycloak.authentication: keycloak: unauthorized account takeover via webauth
CVE-2026-37979 6.5 MEDIUM Keycloak: keycloak: information disclosure via oidc token introspection endpoint audience
CVE-2026-8922 5.4 MEDIUM Org.keycloak/keycloak-services: keycloak: org.keycloak.protocol.oidc: security flaw in org
CVE-2026-37978 4.9 MEDIUM Keycloak: org.keycloak.services: keycloak: information disclosure via evaluate-scopes admi
CVE-2026-8830 4.3 MEDIUM Keycloak: org.keycloak/keycloak-services: keycloak: policy bypass during webauthn credenti
CVE-2026-37981 4.3 MEDIUM Keycloak: org.keycloak.authorization: keycloak: information disclosure via broken access c

IV. Related Vulnerabilities

V. Comments for CVE-2026-7504

No comments yet


Leave a comment