BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-7504 in Keycloak products

High 8.1

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 vulnerabili...

Affects 1 product from 3 vendors. Facts below cite their sources.

CVSS 3.18.1
EPSS0.6%
EPSS percentile45th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Keycloak — —
Redhat Build Of Keycloak ≥ 26.4, < 26.4.12
Valid — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-7504
BreachSpider IDBS-2026-GLOBAL-014883-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Published2026-05-19
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-601: CWE-601

Related attack patterns (CAPEC)

CAPEC-178 Cross-Site Flashing via CWE-601

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A flaw in Keycloak's URL validation logic during redirect operations allows attackers to bypass validation and redirect users to unauthorized URLs, potentially leading to exposure of sensitive information or further attacks.

An attacker can craft a malicious request to exploit the vulnerability in Keycloak's URL validation logic, specifically targeting clients configured with a wildcard (*) in the 'Valid Redirect URIs' setting. This can lead to unauthorized redirection of users, which may be used to steal credentials or other sensitive data.

Questions

What is CVE-2026-7504?

A flaw in Keycloak's URL validation logic during redirect operations allows attackers to bypass validation and redirect users to unauthorized URLs, potentially leading to exposure of sensitive information or further attacks.

What is the CVSS score for CVE-2026-7504?

CVE-2026-7504 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N. EPSS: 0.6%.

Is CVE-2026-7504 actively exploited?

No confirmed active exploitation of CVE-2026-7504 as of 2026-11-03.

How do I remediate CVE-2026-7504?

Priority: IMMEDIATE. Advisory: https://access.redhat.com/errata/RHSA-2026:19594

What systems are affected by CVE-2026-7504?

CVE-2026-7504 affects Keycloak; Redhat Build Of Keycloak; Valid.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Keycloak","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.