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

Goal: 1000 CNY · Raised: 1310 CNY

100%

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

CVSS 8.1 · High EPSS 0.01% · P2

Affected Version Matrix 8

VendorProductVersion RangeStatus
Red HatRed Hat build of Keycloak 26.226.2.16-1< *unaffected
26.2-21< *unaffected
26.2-21< *unaffected
Red HatRed Hat build of Keycloak 26.2.16anyunaffected
Red HatRed Hat build of Keycloak 26.426.4.12-1< *unaffected
26.4-17< *unaffected
26.4-17< *unaffected
Red HatRed Hat build of Keycloak 26.4.12anyunaffected
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
Red HatRed Hat build of Keycloak 26.2 26.2.16-1 ~ * cpe:/a:redhat:build_keycloak:26.2::el9
Red HatRed Hat build of Keycloak 26.2 26.2-21 ~ * cpe:/a:redhat:build_keycloak:26.2::el9
Red HatRed Hat build of Keycloak 26.2 26.2-21 ~ * cpe:/a:redhat:build_keycloak:26.2::el9
Red HatRed Hat build of Keycloak 26.2.16-cpe:/a:redhat:build_keycloak:26.2::el9
Red HatRed Hat build of Keycloak 26.4 26.4.12-1 ~ * cpe:/a:redhat:build_keycloak:26.4::el9
Red HatRed Hat build of Keycloak 26.4 26.4-17 ~ * cpe:/a:redhat:build_keycloak:26.4::el9
Red HatRed Hat build of Keycloak 26.4 26.4-17 ~ * cpe:/a:redhat:build_keycloak:26.4::el9
Red HatRed Hat build of Keycloak 26.4.12-cpe:/a:redhat:build_keycloak:26.4::el9

II. Public POCs for CVE-2026-7504

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

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 · 11 CVEs total

CVE-2026-75077.5 HIGHOrg.keycloak/keycloak-services: session fixation in oidc login flow that can lead to accou
CVE-2026-73077.5 HIGHKeycloak: keycloak: denial of service via specially crafted saml input
CVE-2026-75717.1 HIGHKeycloak: keycloak: access token disclosure and implicit flow bypass via forged client dat
CVE-2026-379826.8 MEDIUMKeycloak: org.keycloak.authentication: keycloak: unauthorized account takeover via webauth
CVE-2026-46306.8 MEDIUMKeycloak: keycloak: unauthorized resource access and data modification via insecure direct
CVE-2026-379796.5 MEDIUMKeycloak: keycloak: information disclosure via oidc token introspection endpoint audience
CVE-2026-89225.4 MEDIUMOrg.keycloak/keycloak-services: keycloak: org.keycloak.protocol.oidc: security flaw in org
CVE-2026-379784.9 MEDIUMKeycloak: org.keycloak.services: keycloak: information disclosure via evaluate-scopes admi
CVE-2026-379814.3 MEDIUMKeycloak: org.keycloak.authorization: keycloak: information disclosure via broken access c
CVE-2026-88304.3 MEDIUMKeycloak: org.keycloak/keycloak-services: keycloak: policy bypass during webauthn credenti

IV. Related Vulnerabilities

V. Comments for CVE-2026-7504

No comments yet


Leave a comment