Open Redirect Affecting keycloak-fips package, versions <26.6.2-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Social Trends
EPSS
0.5% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-KEYCLOAKFIPS-17216271
  • published6 Jun 2026
  • disclosed19 May 2026

Introduced: 19 May 2026

CVE-2026-7504  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade Minimos:latest keycloak-fips to version 26.6.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak-fips package and not the keycloak-fips package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1