CVE-2026-47883

Description

A flaw was found in the UrlHandlerFilter component of Spring Framework. When this filter is configured with overly broad patterns, it can be vulnerable to an open redirect. A remote attacker could exploit this by crafting a malicious URL, which, when clicked by a user, redirects them to an arbitrary external website. This could be used in phishing attacks to trick users into revealing sensitive information.

Statement

A flaw was found in Spring Framework's UrlHandlerFilter. When configured with very broadly matching patterns, the filter can be vulnerable to an open redirect attack. This issue applies to both Spring MVC and Spring WebFlux filter variants. An attacker could craft a malicious URL that, when clicked by a victim, redirects them to an attacker-controlled site. This vulnerability could be exploited in phishing campaigns or to steal authentication tokens in OAuth/SAML flows.

Red Hat ships vulnerable versions of Spring Framework in Red Hat build of Apache Camel for Quarkus (Hawtio 4.4) and Red Hat OpenShift Dev Spaces (versions 3.27, 3.28, 3.29, 3.30). Fixed version 7.0.9 is available for the 7.0.x line; the 6.2.x line is End-of-Life and will not receive public updates.

Mitigation

There is no mitigation available for this issue. Apply updates as they become available from Red Hat product teams. As a temporary workaround, review UrlHandlerFilter configurations and ensure pattern matching is as specific as possible, avoiding overly broad patterns.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.4N/A6.1
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionRequiredN/ARequired
ScopeUnchangedN/AChanged
ConfidentialityLowN/ALow
Integrity ImpactLowN/ALow
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Understanding the Weakness (CWE)

Access Control

Technical Impact: Bypass Protection Mechanism; Gain Privileges or Assume Identity

The user may be redirected to an untrusted page that contains malware which may then compromise the user's system. In some cases, an open redirect can also enable the immediate download of a file without the user's permission, because the redirection to an external site may lead to endpoints on those sites that automatically trigger a download action ("drive-by download" [REF-1478]). This will expose the user to extensive risk. The user's interaction with the web server may also be compromised if the malware conducts keylogging or other attacks that steal credentials, personally identifiable information (PII), or other important data.

Access Control,Confidentiality,Other

Technical Impact: Bypass Protection Mechanism; Gain Privileges or Assume Identity; Other

By modifying the URL value to a malicious site, an attacker may successfully launch a phishing scam. The user may be subjected to phishing attacks by being redirected to an untrusted page. The phishing attack may point to an attacker controlled web page that appears to be a trusted web site. The phishers may then steal the user's credentials and then use these credentials to access the legitimate web site. Because the server name in the modified link is identical to the original site, phishing attempts have a more trustworthy appearance.

Frequently Asked Questions

Want to get errata notifications? Sign up here.